C examples for math.h:NAN
constant
<cmath> <ctgmath> <math.h>
Represents a NaN, not a number.
#include <stdio.h> #include <math.h> int main()//from w ww. j av a 2 s.com { printf("%f",NAN); return 0; }