C Tutorial/math.h/isgreaterequal
int isgreaterequal(a, b): Returns nonzero if a is greater than or equal to b.
#include <stdio.h>
#include <math.h>
int main(void)
{
printf("isgreaterequal(1.0, 2.0) %d\n", isgreaterequal(1.0, 2.0));
printf("isgreaterequal(1.0, 1.0) %d\n", isgreaterequal(1.0, 1.0));
printf("isgreaterequal(2.0, 1.0) %d\n", isgreaterequal(2.0, 1.0));
return 0;
}
isgreaterequal(1.0, 2.0) 0 isgreaterequal(1.0, 1.0) 1 isgreaterequal(2.0, 1.0) 1