__device__ double scalbln ( double  x,
long int  n 
)

Scale x by $2^n$ by efficient manipulation of the floating-point exponent.

Returns:
Returns x * $2^n$.
  • scalbln($\pm 0$, n) returns $\pm 0$.
  • scalbln(x, 0) returns x.
  • scalbln($\pm \infty$, n) returns $\pm \infty$.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA