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