__device__ float __fdividef ( float  x,
float  y 
)

Calculate the fast approximate division of x by y.

Returns:
Returns x / y.
  • __fdividef($\infty$, y) returns NaN for $2^{126} < y < 2^{128}$.
  • __fdividef(x, y) returns 0 for $2^{126} < y < 2^{128}$ and $x \ne \infty$.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-4.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA