posted 20 years ago
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?
Leandro Melo
SCJP 1.4, SCWCD 1.4