News for hackers. Stuff that matters.
Re:A Radical Approach to Computation with Real Numbers [pdf] by Veedrac on Sunday April 03, 2016 @01:48PM (#11416901)
I gave examples of floating computation that doesn't involve rounding. A lot of programs depend on it; Javascript ones in particular. In fact, in a case like `random() -> [0, 1)`, one often relies on the exactness of the bounds.

Rather than thinking of a float as some range of values, you should think of it as a randomized sample inside some (probably unknown) range.

There are no comments on this comment yet.