Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fpclassify(3m) [opensolaris man page]

fpclassify(3M)						  Mathematical Library Functions					    fpclassify(3M)

NAME
fpclassify - classify real floating type SYNOPSIS
c99 [ flag... ] file... -lm [ library... ] #include <math.h> int fpclassify(real-floating x); DESCRIPTION
The fpclassify() macro classifies its argument value as NaN, infinite, normal, subnormal, or zero. First, an argument represented in a for- mat wider than its semantic type is converted to its semantic type. Then classification is based on the type of the argument. RETURN VALUES
The fpclassify() macro returns the value of the number classification macro appropriate to the value of its argument. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
isfinite(3M), isinf(3M), isnan(3M), isnormal(3M), math.h(3HEAD), signbit(3M), attributes(5), standards(5) SunOS 5.11 12 Jul 2006 fpclassify(3M)

Check Out this Related Man Page

FPCLASSIFY(3)						   BSD Library Functions Manual 					     FPCLASSIFY(3)

NAME
fpclassify -- classify real floating type LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <math.h> int fpclassify(real-floating x); DESCRIPTION
The fpclassify() macro performs classification of its argument x. An argument represented in a format wider than its semantic type is con- verted to its semantic type first. The classification is then based on the type of the argument. IEEE 754 FP_INFINITE infinity, either positive or negative FP_NAN not-a-number (``NaN'') FP_NORMAL normal FP_SUBNORMAL subnormal FP_ZERO zero VAX FP_ROP reserved operand (``ROP'') FP_DIRTYZERO dirty zero FP_NORMAL finite FP_ZERO true zero RETURN VALUES
The fpclassify() macro returns the value of the number classification macro appropriate to its argument x as described above. ERRORS
No errors are defined. SEE ALSO
isfinite(3), isnormal(3), math(3), signbit(3) STANDARDS
The fpclassify() macro conforms to ISO/IEC 9899:1999 (``ISO C99''). BSD
January 14, 2004 BSD
Man Page