Chapter Contents

Previous

Next
islessgreater

islessgreater



Floating-point less than or greater than comparison

Portability: C99


SYNOPSIS
DESCRIPTION
RETURN VALUE
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

   #include <math.h>

   int islessgreater(floating x, floating y);


DESCRIPTION

islessgreater returns whether its first argument, x, is greater than or less than its second argument, y. No floating point exception is raised if an argument is a NaN.


RETURN VALUE

1 if x is greater than or less than y, and zero otherwise.


RELATED FUNCTIONS

isgreater, isless, islessequal, islessgreater, isunordered


SEE ALSO

"Mathematical Functions" in Chapter 2, "Function Categories"


Chapter Contents

Previous

Next

Top of Page

Copyright © 2004 by SAS Institute Inc., Cary, NC, USA. All rights reserved.