__device__ double logb ( double  x  ) 

Calculate the floating point representation of the exponent of the input argument x.

Returns:
  • logb$(\pm 0)$ returns $-\infty$
  • logb$(\pm \infty)$ returns $+\infty$
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