View Single Post
Old April 14th, 2005, 11:51 AM
rahzan rahzan is offline
Authorized User
Join Date: Jun 2004
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

There are a few abstract "numbers" defined by the IEEE FP-standard
for exmaple:
Signed zero
Denormalized number
Signed infinity
Not a Number

IEEE Floating-Point Values

Name Quantity Exponent Significand
Not a Number NaN E = Emax + 1 sig not equal 0

Not a Number (NaN) results from an operation involving one or more invalid operands. For instance 0/0 and SQRT(-1) result in NaN. In general, an operation involving a NaN produces another NaN. Because the fraction of a NaN is unspecified, there are many possible NaNs depending on what the significand is. In this case, any value will do.