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

unordered(3) Guardian Native C Library Calls Reference Manual
NAME
unordered - Tests whether one value is unordered relative to another value
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 unordered(
double x,
double y
);
PARAMETERS
x Species a double-precision oating-point value in IEEE 754 format.
y Species a double-precision oating-point value in IEEE 754 format.
DESCRIPTION
The unordered() function returns an indication of whether the oating-point value specied as
the x parameter is unordered with respect to the value specied for the y parameter. This func-
tion is recommended by the IEEE Std 754-1985 for oating-point arithmetic, which denes the
concept of unordered.
NOTES
The unordered() function can be called only by native processes.
This function is not available for Tandem oating-point data.
RETURN VALUES
The unordered() function returns TRUE if the value of x is unordered relative to the value of y.
Otherwise, the value FALSE is returned.
ERRORS
No errors can be returned. This function does not set errno.
RELATED INFORMATION
Functions: nextafter(3).
STANDARDS CONFORMANCE
This function conforms to the XPG4 Version 2 specication.
736 Hewlett-Packard Company 527192-005