|
inlineconstexpr |
Returns a logical true if and only if the element is an infinite value.
Defined in Header
Parameters
x : argument.Return value
The call is_infinite(x) is semantically equivalent to eve::is_equal(eve::abs(x), eve::inf(as(x)), in particular this is always true for integral types.
Masked Call
The call eve;is_infinite[mask](x) provides a masked version of eve::is_infinite which is equivalent to if_else (mask, is_infinite(x), eve::false( eve::as(x))).
Example