1ISGREATEREQUAL(P)          POSIX Programmer's Manual         ISGREATEREQUAL(P)
2
3
4

NAME

6       isgreaterequal - test if x is greater than or equal to y
7

SYNOPSIS

9       #include <math.h>
10
11       int isgreaterequal(real-floating x, real-floating y);
12
13

DESCRIPTION

15       The  isgreaterequal()  macro shall determine whether its first argument
16       is greater than  or  equal  to  its  second  argument.   The  value  of
17       isgreaterequal(  x,  y)  shall  be equal to (x) >= (y); however, unlike
18       (x) >= (y), isgreaterequal( x, y) shall not raise the invalid floating-
19       point exception when x and y are unordered.
20

RETURN VALUE

22       Upon successful completion, the isgreaterequal() macro shall return the
23       value of (x) >= (y).
24
25       If x or y is NaN, 0 shall be returned.
26

ERRORS

28       No errors are defined.
29
30       The following sections are informative.
31

EXAMPLES

33       None.
34

APPLICATION USAGE

36       The relational and equality operators support  the  usual  mathematical
37       relationships  between  numeric values. For any ordered pair of numeric
38       values, exactly one of the relationships (less, greater, and equal)  is
39       true.  Relational operators may raise the invalid floating-point excep‐
40       tion when argument values are NaNs. For a NaN and a numeric  value,  or
41       for  two NaNs, just the unordered relationship is true. This macro is a
42       quiet (non-floating-point exception raising) version  of  a  relational
43       operator.  It facilitates writing efficient code that accounts for NaNs
44       without suffering the invalid floating-point exception. In the SYNOPSIS
45       section,  real-floating indicates that the argument shall be an expres‐
46       sion of real-floating type.
47

RATIONALE

49       None.
50

FUTURE DIRECTIONS

52       None.
53

SEE ALSO

55       isgreater()  ,   isless()   ,   islessequal()   ,   islessgreater()   ,
56       isunordered()  ,  the  Base  Definitions volume of IEEE Std 1003.1-2001
57       <math.h>
58
60       Portions of this text are reprinted and reproduced in  electronic  form
61       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
62       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
63       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
64       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
65       event of any discrepancy between this version and the original IEEE and
66       The Open Group Standard, the original IEEE and The Open Group  Standard
67       is  the  referee document. The original Standard can be obtained online
68       at http://www.opengroup.org/unix/online.html .
69
70
71
72IEEE/The Open Group                  2003                    ISGREATEREQUAL(P)
Impressum