posted 20 years ago
Float.POSITIVE_INFINITY is 0x7f800000
Double.POSITIVE_INFINITY is 0x7ff0000000000000L
Then how come the above code prints true for a==b?
SCJP1.4
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
*Winston Churchill