|
NAMEisgreater , isgreaterequal ,
isless , islessequal ,
islessgreater , isunordered
—
compare two floating-point numbers
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <math.h>
int
int
int
int
int
int
DESCRIPTIONEach of the macrosisgreater (),
isgreaterequal (), isless (),
islessequal (), and
islessgreater () take arguments x
and y and return a non-zero value if and only if its
nominal relation on x and y is
true. These macros always return zero if either argument is not a number
(NaN), but unlike the corresponding C operators, they never raise a floating
point exception.
The SEE ALSOfpclassify(3), math(3), signbit(3)STANDARDSTheisgreater (),
isgreaterequal (), isless (),
islessequal (),
islessgreater (), and
isunordered () macros conform to
ISO/IEC 9899:1999 (“ISO C99”).
HISTORYThe relational macros described above first appeared in FreeBSD 5.1.
Visit the GSP FreeBSD Man Page Interface. |