[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

isgreaterequal Subroutine

Purpose

Tests if x is greater than or equal to y.

Syntax

#include <math.h>

int isgreaterequal (x, y)
real-floating x;
real-floating y;

Description

The isgreaterequal macro determines whether its first argument is greater than or equal to its second argument. The value of isgreaterequal (x, y) is equal to (x) >= (y); however, unlike (x) >= (y), isgreaterequal (x, y) does not raise the invalid floating-point exception when x and y are unordered.

Parameters

x Specifies the first value to be compared.
y Specifies the second value to be compared.

Return Values

Upon successful completion, the isgreaterequal macro returns the value of (x) >= (y).

If x or y is NaN, 0 is returned.

Related Information

isgreater Macro, isless Macro, islessequal Macro, islessgreater Macro, and isunordered Macro.

math.h in AIX 5L Version 5.2 Files Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]