News for hackers. Stuff that matters.
Re:There Are Only Four Billion Floats, So Test Them All (2014) by ericfrederich on Friday September 15, 2017 @08:15AM (#15256450)
I remember doing this. In Python I wanted to know if a float -> str -> float would result in the same number... it does.

But it wasn't really documented or guaranteed that it would, so I wrote some bit-bashing code to generate all 232 bit patterns.

There are no comments on this comment yet.