finite(), finitef()

determine if value is finite 

Function


SYNOPSIS

#include <math.h>

int finite(double x)

int finitef(float x)


DESCRIPTION

The finite() function determines if an argument is finite.

The finitef() function is a single-precision version of finite().


PARAMETERS

x 

Is the value to test.


RETURN VALUES

The finite() function returns 1 when -Infinity<x<+Infinity, otherwise 0 is returned (that is when |x|=Infinity or x is NaN).


CONFORMANCE

4.4BSD.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
isinf(), isnan()


PTC MKS Toolkit 10.3 Documentation Build 39.