ISNAN(3C) INTERACTIVE UNIX System ISNAN(3C)
NAME
isnan: isnand, isnanf - test for floating point NaN (Not-A-
Number)
SYNOPSIS
#include <ieeefp.h>
int isnand (dsrc)
double dsrc;
int isnanf (fsrc)
float fsrc;
DESCRIPTION
The isnand and isnanf functions return true (1) if the argu-
ment 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(3C).
Rev. C Software Development Set Page 1