__device__ float __fmaf_rd ( float  x,
float  y,
float  z 
)

Computes the value of $x \times y + z$ as a single ternary operation, rounding the result once in round-down (to negative infinity) mode.

Returns:
Returns the rounded value of $x \times y + z$ as a single operation.
  • fmaf($\pm \infty$, $\pm 0$, z) returns NaN.
  • fmaf($\pm 0$, $\pm \infty$, z) returns NaN.
  • fmaf(x, y, $-\infty$) returns NaN if $x \times y$ is an exact $+\infty$.
  • fmaf(x, y, $+\infty$) returns NaN if $x \times y$ is an exact $-\infty$.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA