isinf¶
-
taichi_glsl.scalar.
isinf
(x)¶ Determine whether the parameter is positive or negative infinity.
For each element element i of the result, isinf returns True if x[i] is posititve or negative floating point infinity and False otherwise.
- Parameters
x – Specifies the value to test for infinity.
- Returns
The return value is computed as 2 * x == x and x != 0.