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

3.126. __nv_float2int_rz

Prototype:

i32 @__nv_float2int_rz(float %in) 

Description:

Convert the single-precision floating point value x to a signed integer in round-towards-zero mode.

Returns:

Returns converted 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