You are absolutely correct; there are multiple varieties of floating points available out there. I should have specified IEEE-754 definitions since those are the ubiquitous (but not sole) representations of floating points in modern computing. Thanks for the clarification!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It actually is possible to represent
0.1
exactly in binary, but not in IEEE Floating Point. Check outunum
by John Gustafson.You are absolutely correct; there are multiple varieties of floating points available out there. I should have specified IEEE-754 definitions since those are the ubiquitous (but not sole) representations of floating points in modern computing. Thanks for the clarification!