Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

isfinite(3) [netbsd man page]

ISFINITE(3)						   BSD Library Functions Manual 					       ISFINITE(3)

NAME
isfinite -- test for finite value LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <math.h> int isfinite(real-floating x); DESCRIPTION
The isfinite() determines whether its argument x has a finite value. An argument represented in a format wider than its semantic type is converted to its semantic type first. The determination is then based on the type of the argument. IEEE 754 It is determined whether the value of x is zero, subnormal, or normal, and neither infinite nor NaN. VAX It is determined whether the value of x is true zero or finite, and neither dirty zero nor ROP. RETURN VALUES
The isfinite() macro returns a non-zero value if the value of x is finite. Otherwise 0 is returned. ERRORS
No errors are defined. SEE ALSO
finite(3), fpclassify(3), isnormal(3), math(3), signbit(3) STANDARDS
The isfinite() macro conforms to ISO/IEC 9899:1999 (``ISO C99''). BSD
August 6, 2011 BSD

Check Out this Related Man Page

isfinite(3M)						  Mathematical Library Functions					      isfinite(3M)

NAME
isfinite - test for finite value SYNOPSIS
c99 [ flag... ] file... -lm [ library... ] #include <math.h> int isfinite(real-floating x); DESCRIPTION
The isfinite() macro determines whether its argument has a finite value (zero, subnormal, or normal, and not infinite or NaN). First, an argument represented in a format wider than its semantic type is converted to its semantic type. Then determination is based on the type of the argument. RETURN VALUES
The isfinite() macro returns a non-zero value if and only if its argument has a finite value. 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
fpclassify(3M), isinf(3M), isnan(3M), isnormal(3M), math.h(3HEAD), signbit(3M), attributes(5), standards(5) SunOS 5.11 12 Jul 2006 isfinite(3M)
Man Page