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

3.173. __nv_fsub_ru

Prototype:

float @__nv_fsub_ru(float %x, float %y) 

Description:

Compute the difference of x and y in round-up (to positive infinity) mode.

Returns:

Returns x - y.

Note:

For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.

This operation will never be merged into a single multiply-add instruction.

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