Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)
Guardian Native C Library Calls (t - z) unordered(3)
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 Specifies a double-precision floating-point value in IEEE 754 format.
y Specifies a double-precision floating-point value in IEEE 754 format.
DESCRIPTION
The unordered() function returns an indication of whether the floating-point value specified as
the x parameter is unordered with respect to the value specified for the y parameter. This func-
tion is recommended by the IEEE Std 754-1985 for floating-point arithmetic, which defines the
concept of unordered.
NOTES
The unordered() function can be called only by native processes.
This function is not available for Tandem floating-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 specification.
527192-007 Hewlett-Packard Company 7−41