Hi! Little doubt. Kathy's book says that when divided by zero, a floating point may become infinity or -infinity depending on the sign of the zero. I checked it out and verified that, at least with sun's jvm, this result is actually due to the sign of the number beeing divided, the sign of the zero doesn't really matter. Any comments?
Allright, you pointed the singalling diferences between 0.0 and 0 and -0.0 and 0. But, what is the reason behind it?
The definitive source that you appear to searching for is called "IEEE754". This defines how floating-point data types are represented, and how they are operated on, etc.