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

Table of contents


NAME

islessgreaterf, islessgreater, islessgreaterl, islessgreaterw, islessgreaterq, islessgreaterll, islessgreaterdf, islessgreaterd, islessgreaterdl, islessgreaterdll - test if x is less than or greater than y

SYNOPSIS

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

#include <mathcw.h>

extern int islessgreaterf (float x, float y);

extern int islessgreater (double x, double y);

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

extern int islessgreaterw (__float80 x, __float80 y);

extern int islessgreaterq (__float128 x, __float128 y);

extern int islessgreaterll (long_long_double x, long_long_double y);

extern int islessgreaterdf (decimal_float x, decimal_float y);

extern int islessgreaterd (decimal_double x, decimal_double y);

extern int islessgreaterdl (decimal_long_double x, decimal_long_double y);

extern int islessgreaterdll (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 less than, or 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 less than, or greater than, the second, and 0 otherwise.

ERRORS

None.

SEE ALSO

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