3.148. __nv_fmaf_ru
Prototype:
float @__nv_fmaf_ru(float %x, float %y, float %z)
Description:
Computes the value of as a single ternary operation, rounding the result once in round-up (to positive infinity) mode.
Returns:
-
__nv_fmaf_ru( , , z) returns NaN.
-
__nv_fmaf_ru( , , z) returns NaN.
-
__nv_fmaf_ru(x, y, ) returns NaN if is an exact .
-
__nv_fmaf_ru(x, y, ) returns NaN if is an exact .
For accuracy information see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Single-Precision Floating-Point Functions section.
Library Availability:
Compute 2.0: Yes
Compute 3.0: Yes
Compute 3.5: Yes