3.296. __nv_scalbn
-
double @__nv_scalbn(double %x, i32 %y)
Scale floating-point input by integer power of two.
Scale
xby \(2^n\) by efficient manipulation of the floating-point exponent.- Returns
Returns
x* \(2^n\).__nv_scalbn( \(\pm 0\) ,
n) returns \(\pm 0\).__nv_scalbn(
x, 0) returnsx.__nv_scalbn( \(\pm \infty\) ,
n) returns \(\pm \infty\).