Encyclopedia > NaN

  Article Content

NaN

In computing, Not a Number is a result typically indicating out-of-bounds input or output in floating point calculations. For example, a typical Floating Point Unit is not designed to be able to calculate the square root of negative numbers, and will instead return a NaN result.

In floating point calculations, NaN is not the same as zero or infinity, although all three are typically handled as special cases in floating point representations of real numbers. It is also not the same as an overflow or underflow error.

See also: IEEE Floating Point Standard



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Northwest Harbor, New York

... with 25.2% under the age of 18, 4.8% from 18 to 24, 27.3% from 25 to 44, 28.7% from 45 to 64, and 13.9% who are 65 years of age or older. The median age is 41 years. For ...

 
 
 
This page was created in 211.4 ms