libdevice User's Guide (PDF) - CUDA Toolkit v5.5 (older) - Last updated July 19, 2013 - Send Feedback

3.259. __nv_rint

Prototype:

double @__nv_rint(double %x) 

Description:

Round x to the nearest integer value in floating-point format, with halfway cases rounded to the nearest even integer value.

Returns:

Returns rounded integer value.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes


libdevice User's Guide (PDF) - CUDA Toolkit v5.5 (older) - Last updated July 19, 2013 - Send Feedback