Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both |
z/OS V1R8 |
#define _ISOC99_SOURCE
#include <math.h>
int isgreaterequal(real-floating x, real-floating y);
#define __STDC_WANT_DEC_FP__
#include <math.h>
int isgreaterequal(real-floating x, real-floating y); /* C only */
int isgreaterequal(decimal-floating x, decimal-floating y); /* C only */
bool isgreaterequal(real-floating x, real-floating y); /* C++ only */
bool isgreaterequal(decimal-floating x, decimal-floating y); /* C++ only */
#define _TR1_C99
#include <math.h>
bool isgreaterequal(real-floating x, real-floating y); /* C++ only */
The isgreaterequal() macro or function template determines whether the argument x is greater than or equal to y. It is equivalent to (x) >= (y), but no exception is raised if x or y are NaN.
Function | Hex | IEEE |
---|---|---|
isgreaterequal | X | X |
The isgreaterequal() macro returns 1 if the value of x is greater than or equal to y, else returns 0. The C++ function template returns true if the value of x is greater than or equal to y, else returns false.