compare(3M)
isgreater, isgreaterequal, isless, islessequal, islessgreater - comparison macros
Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.19.
NAME isgreater, isgreaterequal, isless, islessequal, islessgreater - comparison macros SYNOPSIS #include <math.h> int isgreater(real-floating x, real-floating y); int isgreaterequal(real-floating x, real-floating y); int isless(real-floating x, real-floating y); int islessequal(real-floating x, real-floating y); int islessgreater(real-floating x, real-floating y); DESCRIPTION These routines are not available for programs compiled with the O32 ABI. Functions in the standard math library (libm.a) are referred to as -lm versions. Those in the libmx library (libmx.a) are referred to as -lmx versions, and those in the the BSD math library (libm43.a) are referred to as -lm43 versions. These routines are not available in the libmx and libm43 libraries. These macros are quiet (non floating-point exception raising) versions of the relational operators. real-floating in the synopsis lines indicates that the argument shall be an expression of real floating type. The isgreater macro determines if its first argument is greater than its second argument. The isgreaterequal macro determines if its first argument is greater than or equal to its second argument. The isless macro determines if its first argument is less than its second argument. The islessequal macro determines if its first argument is less than or equal to its second argument. The islessgreater macro determines if its first argument is less than or greater than its second argument. NOTES Long double operations on this system are only supported in round to nearest rounding mode (the default). The system must be in round to nearest rounding mode when calling any of the long double functions, or incorrect answers will result. SEE ALSO math(3M), exp(3M)