NAN - C math.h

C examples for math.h:NAN

type

constant

From

<cmath>
<ctgmath>
<math.h>

Description

Represents a NaN, not a number.

Demo Code


#include <stdio.h>
#include <math.h>

int main()//from w  ww. j  av  a  2 s.com
{
    printf("%f",NAN);
    return 0;
}

Related Tutorials