4 ms·
Oh you're right, thanks for the explanation! Gotta research now where the 0.00000011920929 number comes from...
by jdthedisciple 2y ago
Oh you're right, thanks for the explanation!
Gotta research now where the 0.00000011920929 number comes from...
- masklinn 2y agoIt's the distance between 1.0 and the next representable float.
- jdthedisciple 2y agoI got that but I am curious how to derive that number. Is it representable as a non-trivial ratio of integers?
- hmry 2y agoGood question! It's 1/(2**23), because 32 bit floats have 23 bits after the decimal point