1 | | If you take the uniform distribution on ^^[0,1^^] or (0,1), i.e. the Lebesgue measure, and round it to the nearest floating-point number, the distribution on the result is the natural notion of the uniform distribution on floating-point numbers in ^^[0,1^^]. |
| 1 | If you take the uniform distribution on ^^[0,1^^] or (0,1), i.e. the Lebesgue measure, and round it to the nearest floating-point number, the distribution on the result is the natural notion of the uniform distribution on floating-point numbers in ^^[0,1^^]: the probability of each floating-point number is the width of the interval of real numbers rounded to that floating-point number. |