__device__ double ceil ( double  x  ) 

Compute the smallest integer value not less than x.

Returns:
Returns $\lceil x \rceil$ expressed as a floating-point number.
  • ceil($\pm 0$) returns $\pm 0$.
  • ceil($\pm \infty$) returns $\pm \infty$.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA