3.172. __nv_fsub_rn

Prototype:

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

Description:

Compute the difference of x and y in round-to-nearest-even rounding mode.

Returns:

Returns x - y.

Note:

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

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