Tests if x is greater than y.
The isgreater macro determines whether its first argument is greater than its second argument. The value of isgreater(x, y) is equal to (x) > (y); however, unlike (x) > (y), isgreater(x, y) does not raise the invalid floating-point exception when x and y are unordered.
Item | Description |
---|---|
x | Specifies the first value to be compared. |
y | Specifies the first value to be compared. |
Upon successful completion, the isgreater macro returns the value of (x) > (y).
If x or y is NaN, 0 is returned.