Originally posted by Satish Kota:
Going by this Float.Nan == Float.NaN must yield result as true. But i get false. Gurus please throw some light into this
NaN (or Not A Number) is defined by IEEE to be returned with certain floating point operations. IEEE also defines how it is to be compared -- it is not equal to any number, including another NaN.
Henry