Thread on floating point representation and random numbers in Python

1/ #Python factlet: random() gives you floats in the range 0.0 ≤ X < 1.0, but not all floats in that range are possible selections. For example, 0.05954861408025609 isn’t a possible selection. Read more

Similar