Tuesday, February 10, 2009

Whats wrong with Floating point numbers ?


http://www.javaranch.com/journal/2003/07/MoneyInJava.html

This URL specifies what is wrong with Float implementation in Java. Is it that Java alone has this problem or is it there for ages ?

Actually, the problem is much older than Java and can be found in the IEEE 754 specification that defines how floating-point numbers work.

Special thanks to my development team peers for this info !