True when x is positive or negative infinity. NaN is not infinite.
assert(isinf(FLOAT32_INFINITY) && isinf(-FLOAT32_INFINITY));
assert(!isinf(FLOAT32_MAX) && !isinf(FLOAT32_NAN));isinf :: (x: float64) -> bool
Whether x is infinite (either sign).
Parameters
- x: float64
- the value to test.
Returns
- bool
isinf :: (x: float32) -> bool
Whether x is infinite (either sign).
Parameters
- x: float32
- the value to test.
Returns
- bool