isgreaterequal()

Determine whether one floating-point number is greater than or equal to another

Synopsis:

#include <math.h>

#define isgreaterequal( x, y  ) ...

Arguments:

x, y
The floating-point numbers that you want to compare.

Library:

libm

Use the -l m option to qcc to link against this library.

Description:

The isgreaterequal() macro determines whether x is greater than or equal to y. It's the same as (x) >= (y) but doesn't raise the invalid floating-point exception if x and y are unordered.

Returns:

The value of (x) >= (y). If x or y is NaN, this function returns 0.

Classification:

ANSI, POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes