|
inlineconstexpr |
Computes the rounding to n significants digits of the first input.
Defined in Header
Parameters
x: floating argument.n : integral value argument.Return value
Computes elementwise the rounding to n significants digits of x. With null n the result is a NaN.
Masked Call
The call eve::significants[mask](x, ...) provides a masked version of significants which is equivalent to if_else(mask, significants(x, ...), x)
Example