Chapter Contents

Previous

Next
isfinite

isfinite



Test for finite floating-point number

Portability: C99


SYNOPSIS
DESCRIPTION
RETURN VALUE
USAGE NOTES
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

   #include <math.h>

   int isfinite(floating x);


DESCRIPTION

isfinite tests whether its argument is a finite number, that is, not infinite, and not a NaN.


RETURN VALUE

isfinite returns zero if its argument is not finite, and a non-zero value otherwise.


USAGE NOTES

When called from a compilation compiled without the bfp option, isfinite always returns non-zero.


RELATED FUNCTIONS

fpclassify, isinf, 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.