2 ms·
Not just binary. Any finite representation of an infinite sequence is always an approximation (4/3=1.666...). It's just novel to decimal-minded folk when they
by sageikosa 14y ago
Not just binary. Any finite representation of an infinite sequence is always an approximation (4/3=1.666...). It's just novel to decimal-minded folk when they see it happen with decimal presentations of what are really binary stored values, since binary representation of 1/5 is non-terminating, whereas 1/2 does terminate.
Make the world scale 0.125 (or 0.625), which is close to 0.1, but has an exact binary representation. If you only ever divide this into integers, you should be mostly OK (he speculated non-authoritatively).