|
inlineconstexpr |
Computes the never zero sign of the parameter.
Defined in Header
Parameters
x : argument.Return value
x.x, the call is semantically equivalent to:Nan, the result is Nanvalue containing the elementwise never zero sign of x
Masked Call
The call eve;signnz[mask](x) provides a masked version of eve::signnz which is equivalent to if_else (mask, signnz(x), x).
Example