__device__ float ceilf ( float  x  ) 

Compute the smallest integer value not less than x.

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


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA