Chapter Contents

Previous

Next
isinf

isinf



Test for infinite floating-point number

Portability: C99


SYNOPSIS
DESCRIPTION
RETURN VALUE
USAGE NOTES
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

   #include <math.h>

   int isinf(floating x);


DESCRIPTION

isinf tests whether its argument is a infinite number, that is, plus or minus infinity.


RETURN VALUE

isinf returns zero if its argument is not infinite, and a non-zero value otherwise.


USAGE NOTES

When called from a compilation compiled without the bfp option, isinf always returns zero.


RELATED FUNCTIONS

fpclassify, isfinite, isnan, isnormal


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.