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

3.121. __nv_float2int_rd

Prototype:

i32 @__nv_float2int_rd(float %in) 

Description:

Convert the single-precision floating point value x to a signed integer in round-down (to negative infinity) 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 July 19, 2013 - Send Feedback