|
inlineconstexpr |
Computes the value of one minus the input.
Defined in Header
Parameters
Return value
The value of 1-x
is returned.
Masked Call
The call eve::oneminus[mask](x, ...)
provides a masked version of oneminus
which is equivalent to if_else(mask, oneminus(x, ...), x)
Example
The call saturated(oneminus)(x)
is semantically equivalent to eve::saturated(eve::sub)( eve::one (as(x)), x)
and is never undefined.
Example