Syntax
- bool isinf(float value)
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
True if value is infinite, false otherwise.
The isinf function checks if value is an infinite value.
example.1
isinf(1/0)
# result = true
example.2
isinf(ln(0))
# result = true