News for hackers. Stuff that matters.
Re:0.30000000000000004 by acqq on Friday November 13, 2015 @10:26AM (#10560300)
See also:

http://cs.furman.edu/digitaldomain/more/ch6/dec_frac_to_bin....

".1 (decimal) = .00011001100110011 . . . (base 2)"

Notice the repeating pattern? The exact number must have infinite number of binary digits. Wherever you cut (whichever fixed number of bits you want to keep) you lose something.

There are no comments on this comment yet.