3.111. __nv_fast_fdividef

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

Calculate the fast approximate division of the input arguments.

Calculate the fast approximate division of x by y.

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Intrinsic Functions section.

Returns

Returns x / y.

  • __nv_fast_fdividef( \(\infty\) , y) returns NaN for \(2^{126} < y < 2^{128}\).

  • __nv_fast_fdividef(x, y) returns 0 for \(2^{126} < y < 2^{128}\) and \(x \ne \infty\).