Scalar FunctionsMath Functions
isinf
Returns whether the input is an infinite value (positive or negative infinity).
Syntax
isinf(x)Parameters
Prop
Type
Returns: bool
Examples
Example 1
print isinf(1.0 / 0.0)| print_0 (bool) |
|---|
| true |
Returns whether the input is an infinite value (positive or negative infinity).
isinf(x)Prop
Type
Returns: bool
print isinf(1.0 / 0.0)| print_0 (bool) |
|---|
| true |