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

Table of contents


NAME

islessf, isless, islessl, islessw, islessq, islessll, islessdf, islessd, islessdl, islessdll - test if x is less than y

SYNOPSIS

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

#include <mathcw.h>

extern int islessf (float x, float y);

extern int isless (double x, double y);

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

extern int islessw (__float80 x, __float80 y);

extern int islessq (__float128 x, __float128 y);

extern int islessll (long_long_double x, long_long_double y);

extern int islessdf (decimal_float x, decimal_float y);

extern int islessd (decimal_double x, decimal_double y);

extern int islessdl (decimal_long_double x, decimal_long_double y);

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

ERRORS

None.

SEE ALSO

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