NAN(2)NAN(2)
NAME
NaN, Inf, isNaN, isInf – not-a-number and infinity functions
SYNOPSIS
double NaN(void)
double Inf(int)
int isNaN(double)
int isInf(double, int)
DESCRIPTION
The IEEE floating point standard defines values called
‘not-a-number’ and positive and negative ‘infinity’.
These values can be produced by such things as overflow
and division by zero.
Also, the library functions sometimes return them when
the arguments are not in the domain, or the result is
out of range.
By default, manipulating these values may cause a floating point exception
on some processors but