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

3.221. __nv_llrintf

Prototype:

i64 @__nv_llrintf(float %x) 

Description:

Round x to the nearest integer value, with halfway cases rounded towards zero. If the result is outside the range of the return type, the result is undefined.

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 May 11, 2013 - Send Feedback