Syntax
- bool isinf(value)
Parameters
- value—float
Returns
True if value is infinite, false otherwise.
Description
The isinf function checks if value is an infinite value.
Related
Examples
isinf(1/0)
# result = true
isinf(ln(0))
# result = true
True if value is infinite, false otherwise.
The isinf function checks if value is an infinite value.
isinf(1/0)
# result = true
isinf(ln(0))
# result = true