Return true if number is positive or negative infinity.
Synopsis
Declared in <bdlb_float.h>
static
bool
isInfinite(float number);
Description
This function is equivalent to the isinf macro in C99. Note that infinity is a valid floating‐point value and is not a "NaN".
Return Value
true if number is positive or negative infinity, and false otherwise
Parameters
Name |
Description |
number |
floating‐point value to test |
Created with MrDocs