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 see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Single-Precision Floating-Point Functions section.

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