isgreaterequal(3M)isgreaterequal(3M)NAME
isgreaterequal() - floating-point quiet comparison macro (>=)
SYNOPSIS
floating-expr floating-expr
DESCRIPTION
The macro determines whether its first argument is greater than or equal to its second argument. The value of is always equal to however,
unlike does not raise the invalid exception when x and y are unordered.
The arguments must be of floating type. For HP Integrity servers, the arguments can be any floating type. For PA-RISC, each argument must
be either or
USAGE
To use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library
by specifying on the compiler or linker command line.
RETURN VALUE
The macro returns the value of The macro raises no floating-point exceptions.
ERRORS
No errors are defined.
SEE ALSO isgreater(3M), isless(3M), islessequal(3M), islessgreater(3M), isunordered(3M), math(5).
STANDARDS CONFORMANCE isgreaterequal(3M)
Check Out this Related Man Page
ISGREATER(3) BSD Library Functions Manual ISGREATER(3)NAME
isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered -- compare two floating-point numbers
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <math.h>
int
isgreater(real-floating x, real-floating y);
int
isgreaterequal(real-floating x, real-floating y);
int
isless(real-floating x, real-floating y);
int
islessequal(real-floating x, real-floating y);
int
islessgreater(real-floating x, real-floating y);
int
isunordered(real-floating x, real-floating y);
DESCRIPTION
Each of the macros isgreater(), isgreaterequal(), isless(), islessequal(), and islessgreater() takes arguments x and y and returns 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 isunordered() macro takes arguments x and y, returning non-zero if either x or y is NaN. 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 isgreater(), isgreaterequal(), isless(), islessequal(), islessgreater(), and isunordered() macros conform to ISO/IEC 9899:1999
(``ISO C99'').
BSD December 1, 2008 BSD
I use Digital Unix 4.0F (OSF/1) .I write a simple programe :
#define _POSIX_SOURCE
#include <pthread.h>
void main(void)
{ }
But , the compiler report many errors .
I do not know why the compiler compain that .
Thank you in advance (1 Reply)
I'm upleveling code from 10.20 to 11.11....but I'm running into a problem in which the USRSTACK macro does not seem to be defined in 11.11. Has anybody else experienced this/fixed it/worked around it? Is there a different macro I should be using instead?
Thanks for any info you can provide!! (1 Reply)
I think there is no problem to use any macro in a new macro definishion, but I have a problem with that.
I can not understand why?
I have a *.mak file that inludes file with many definitions and rules.
##############################################
include dstndflt.mak
...
One of the... (2 Replies)
Here's a program and its pretty simple .It requires file handling and some calculations but on running it I am not getting the required result.It seems that the code outside the file read's outer while loop is not executing e.g the print statement is not being printed.Plz Help!
#include<stdio.h>... (1 Reply)
im working on a program that has to correctly add the macro TWEEN to the system (it determines
if a string falls beween two other strings in a basic sort)
im having problems doing this. here is what i got.
int main(){
char name;
scanf("%s",&name);
if (TWEEN("ABC", name, "XYZ")) printf("%s... (4 Replies)
Hi Friends
I have a compiler(Sun Forte,I believe) running in my Solaris 9 box.
since y'day my development team is finding this error when they compile:
ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
I ran a search for this file and found it in one of my file... (2 Replies)
Hi,
i want to add two decimal values to
$ set a= 12.4
$ set b=3.6
$ w=`expr $a - $b`
expr: non-numeric argument
or is there any other method to do this mathematics operation.
i need to use this into my script. (4 Replies)