Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

Guardian Native C Library Calls (f)
nite(3)
NAME
nite - Tests whether a oating-point number is innite
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL
G-series native OSS processes: /G/system/sysnn/zcresrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
H-series OSS processes: /G/system/zdllnnn/zcredll
SYNOPSIS
#include <ieeefp.h>
int nite(
double x);
PARAMETERS
x Species a double-precision IEEE oating-point value.
DESCRIPTION
The nite() function returns an indication of whether a oating-point value is a nite number.
This function is recommended by the IEEE Std 754-1985 for oating-point arithmetic.
NOTES
The nite() function can be called only by native processes.
This function is not available for Tandem oating-point data.
RETURN VALUES
The nite() function returns TRUE if the value of x is greater than negative innity and less than
positive innity. Otherwise, the value FALSE is returned.
ERRORS
No errors can be returned. This function does not set errno.
RELATED INFORMATION
Functions: fp_class(3), nextafter(3).
STANDARDS CONFORMANCE
This function conforms to the XPG4 Version 2 specication.
527192-007 Hewlett-Packard Company 225