ISNAN(3C-SysV) RISC/os Reference Manual ISNAN(3C-SysV)
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
isnand and isnanf return true (1) 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(3C).
Printed 1/15/91 Page 1