cc [ flag ... ] file ... -lm [ library ... ] #include <math.h>
The isnan() function tests whether x is NaN.
The isnan() function returns non-zero if x is NaN. Otherwise, 0 is returned.
On systems not supporting NaN, isnan() always returns 0.
See attributes(5) for descriptions of the following attributes:
attributes(5)