3.92. __nv_erfinv

double @__nv_erfinv(double %x)

Calculate the inverse error function of the input argument.

Calculate the inverse error function of the input argument y, for y in the interval [-1, 1]. The inverse error function finds the value x that satisfies the equation y = erf(x), for \(-1 \le y \le 1\) , and \(-\infty \le x \le \infty\).

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Double-Precision Floating-Point Functions section.

Returns

  • __nv_erfinv(1) returns \(+\infty\).

  • __nv_erfinv(-1) returns \(-\infty\).