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

Table of contents


NAME

islessequalf, islessequal, islessequall, islessequalw, islessequalq, islessequalll, islessequaldf, islessequald, islessequaldl, islessequaldll - test if x is less than or equal to y

SYNOPSIS

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

#include <mathcw.h>

extern int islessequalf (float x, float y);

extern int islessequal (double x, double y);

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

extern int islessequalw (__float80 x, __float80 y);

extern int islessequalq (__float128 x, __float128 y);

extern int islessequalll (long_long_double x, long_long_double y);

extern int islessequaldf (decimal_float x, decimal_float y);

extern int islessequald (decimal_double x, decimal_double y);

extern int islessequaldl (decimal_long_double x, decimal_long_double y);

extern int islessequaldll (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 equal to, 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 equal to, the second, and 0 otherwise.

ERRORS

None.

SEE ALSO

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