3.21. __nv_ceil
-
double @__nv_ceil(double %x)
Calculate ceiling of the input argument.
Compute the smallest integer value not less than
x.- Returns
Returns \(\lceil x \rceil\) expressed as a floating-point number.
__nv_ceil( \(\pm 0\) ) returns \(\pm 0\).
__nv_ceil( \(\pm \infty\) ) returns \(\pm \infty\).