Tests if x is less than or equal to y.
#include <math.h> int islessequal (x, y) real-floating x; real-floating y;
The islessequal macro determines whether its first argument is less than or equal to its second argument. The value of islessequal(x, y) is equal to (x) <= (y); however, unlike (x) <= (y), islessequal(x, y) does not raise the invalid floating-point exception when x and y are unordered.
x | Specifies the first value to be compared. |
y | Specifies the second value to be compared. |
Upon successful completion, the islessequal macro returns the value of (x) <= (y).
If x or y is NaN, 0 is returned.
isgreater Macro, isgreaterequal Subroutine, islessequal Macro, islessgreater Macro, and isunordered Macro.
math.h in AIX 5L Version 5.2 Files Reference.