isnan,isnanf,isinf,isinff,finite,finitef---test for exceptional numbersSynopsis
#include <ieeefp.h> int isnan(double arg); int isinf(double arg); int finite(double arg); int isnanf(float arg); int isinff(float arg); int finitef(float arg);
Description
These functions provide information on the floating point
argument supplied.
There are five major number formats -
zero
subnormal
normal
infinity
NAN
isnan returns 1 if the argument is a nan. isinf
returns 1 if the argument is infinity. finite returns 1 if the
argument is zero, subnormal or normal.
The isnanf, isinff and finitef perform the same
operations as their isnan, isinf and finite
counterparts, but on single precision floating point numbers.
Packaging copyright © 1988-2000 OAR Corporation Context copyright by each document's author. See Free Software Foundation for information.