News for hackers. Stuff that matters.
Re:Essential facts about floating point calculations by panic on Monday July 06, 2015 @06:09AM (#9837976)
It should be noted however (as I do) that the decimal number is still not equivalent to the actual floating point number, only that when converted back it is the same.

Since 2 divides evenly into 10, every binary number has an exact decimal representation, and you can produce a decimal string which is equivalent to any floating point number. You may need quite a few digits, though.

There are no comments on this comment yet.