Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
unordered(3) OSS 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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
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.
7−78 Hewlett-Packard Company 527187-017