|
|
HP-UX Reference > Ffinite(3M)HP Integrity Server OnlyHP-UX 11i Version 2: December 2007 Update |
|
NAMEfinite(), finitef(), finitel(), finitew(), finiteq() — finiteness functions SYNOPSIS#include <math.h> int finite(double x); int finitef(float x); int finitel(long double x); int finitew(extended x); int finiteq(quad x); DESCRIPTIONThe finite() function determines whether its argument has a finite value (zero, subnormal, or normal, and not infinite or NaN). These functions are superseded by the standard isfinite macro. They are provided in HP-UX to facilitate importing code from other platform. finitef() is a float version of finite(); it takes a float argument. finitel() is a long double version of finite(); it takes a long double argument. finitew() is an extended version of finite(); it takes an extended argument. finiteq() is equivalent to finitel() on HP-UX systems. USAGETo use these functions, compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. To use finitew() or finiteq(), compile also with the -fpwidetypes option. Make sure your program includes <math.h>. Link in the math library by specifying -lm on the compiler or linker command line. For more information, see the HP-UX floating-point guide for HP Integrity servers at the following site: http://www.hp.com/go/fp. |
|