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