isunordered Macro

Purpose

Tests if arguments are unordered.

Syntax

#include <math.h>
int isunordered (x, y)
real-floating x;
real-floating y;

Description

The isunordered macro determines whether its arguments are unordered.

Parameters

Item Description
x Specifies the first value in the order.
y Specifies the second value in the order.

Return Values

Upon successful completion, the isunordered macro returns 1 if its arguments are unordered, and 0 otherwise.

If x or y is NaN, 0 is returned.