ISGREATER 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

isgreaterf, isgreater, isgreaterl, isgreaterw, isgreaterq, isgreaterll, isgreaterdf, isgreaterd, isgreaterdl, isgreaterdll - test if x greater than y

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern int isgreaterf (float x, float y);

extern int isgreater (double x, double y);

extern int isgreaterl (long double x, long double y);

extern int isgreaterw (__float80 x, __float80 y);

extern int isgreaterq (__float128 x, __float128 y);

extern int isgreaterll (long_long_double x, long_long_double y);

extern int isgreaterdf (decimal_float x, decimal_float y);

extern int isgreaterd (decimal_double x, decimal_double y);

extern int isgreaterdl (decimal_long_double x, decimal_long_double y);

extern int isgreaterdll (decimal_long_long_double x, decimal_long_long_double y);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Determine whether the first argument is greater than the second argument, without raising the invalid floating-point exception if either is a NaN.

RETURN VALUES

Return 1 if the first argument is greater than the second, and 0 otherwise.

ERRORS

None.

SEE ALSO

isgreaterequal(3CW), isless(3CW), islessequal(3CW), islessgreater(3CW), isunordered(3CW).