Manual Pages for UNIX Darwin command on man islessequal
MyWebUniversity

Manual Pages for UNIX Darwin command on man islessequal

ISGREATER(3) BSD Library Functions Manual ISGREATER(3)

NAME

iissggrreeaatteerr, iissggrreeaatteerreeqquuaall, iisslleessss, iisslleesssseeqquuaall, iisslleessssggrreeaatteerr,

iissuunnoorrddeerreedd - compare two floating-point numbers

LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

int

iissggrreeaatteerr(real-floating x, real-floating y);

int

iissggrreeaatteerreeqquuaall(real-floating x, real-floating y);

int

iisslleessss(real-floating x, real-floating y);

int

iisslleesssseeqquuaall(real-floating x, real-floating y);

int

iisslleessssggrreeaatteerr(real-floating x, real-floating y);

int

iissuunnoorrddeerreedd(real-floating x, real-floating y);

DESCRIPTION

Each of the macros iissggrreeaatteerr(), iissggrreeaatteerreeqquuaall(), iisslleessss(), iisslleesssseeqquuaall(), and iisslleessssggrreeaatteerr() 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 iissuunnoorrddeerreedd() macro takes arguments x and y and returns non-zero if

and only if neither x nor y are NaNs. For any pair of floating-point

values, one of the relationships (less, greater, equal, unordered) holds.

SEE ALSO

fpclassify(3), math(3), signbit(3) STANDARDS The iissggrreeaatteerr(), iissggrreeaatteerreeqquuaall(), iisslleessss(), iisslleesssseeqquuaall(), iisslleessssggrreeaatteerr(), and iissuunnoorrddeerreedd() macros conform to ISO/IEC 9899:1999 (``ISO C99''). BSD February 12, 2003 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™