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
example.1
isinf(1/0)
# result = true
example.2
isinf(ln(0))
# result = true