3.21. __nv_ceil

Prototype:

double @__nv_ceil(double %x) 

Description:

Compute the smallest integer value not less than x.

Returns:

Returns x expressed as a floating-point number.
  • __nv_ceil( ± 0 ) returns ± 0 .

  • __nv_ceil( ± ) returns ± .

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes