__device__ double ldexp ( double  x,
int  exp 
)

Calculate the value of $x\cdot 2^{exp}$ of the input arguments x and exp.

Returns:
  • ldexp(x) returns $\pm \infty$ if the correctly calculated value is outside the double floating point range.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA