Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

isunordered(3) Guardian Native C Library Calls Reference Manual
NAME
isunordered -Testsifx and y are unordered
LIBRARY
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 <math.h>
int isunordered(
floating-type x,
floating-type y);
PARAMETERS
floating-type Specifies the floating-type of x.
x Species a value of type floating-type.
floating-type Specifies the floating-type of y.
y Species a value of type floating-type.
DESCRIPTION
The isunordered() macro determines whether its arguments are unordered. The arguments are
unordered if at least one argument is NaN.
The arguments must be of floating type.
NOTES
This macro is implemented only for the IEEE_float floating-point option. Applications using
this macro cannot be compiled if the specified floating-point option is Tandem_float.
RETURN VALUES
The isunordered() macro returns 1 if its arguments are unordered (that is, if either argument is a
NaN). Otherwise, isunordered() returns 0 (zero).
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: isgreater(3), isgreaterequal(3), isless3), islessequal(3), islessgreater(3).
Files: math(4).
STANDARDS CONFORMANCE
This function conforms to the ISO/IEC 9899:1999 standard.
This function conforms to the IEEE Std 1003.1, 2004 Edition.
3120 Hewlett-Packard Company 527192-018