scale : inttegal value or integral_constant of integral type.
Return value
Returns the elementwise scaled input. The number of fraction bits retained is specified by scale. By default the internal rounding after scaling is done to nearest integer. The call roundscale(x, scale) is equivalent to ldexp(eve::nearest(ldexp(x,scale), -scale))
with o denoting one of these options the call is equivalent to ldexp(round[o](ldexp(x,scale), -scale))