ISNAN(S) UNIX System V ISNAN(S)
Name
isnan: isnand, isnanf - test for floating point NaN (Not-
A-Number)
Syntax
#include <ieeefp.h>
int isnand (dsrc)
double dsrc;
int isnanf (fsrc)
float fsrc;
Description
The isnand and isnanf functions return true (C) if the
argument dsrc or fsrc is a NaN; otherwise they return false
(0).
Neither routine generates any exception, even for signaling
NaNs.
isnanf() is implemented as a macro included in <ieeefp.h>.
See Also
fpgetround(S)
(printed 6/20/89)