3.87. __nv_erfcinv

double @__nv_erfcinv(double %x)

Calculate the inverse complementary error function of the input argument.

Calculate the inverse complementary error function of the input argument y, for y in the interval [0, 2]. The inverse complementary error function find the value x that satisfies the equation y = erfc(x), for \(0 \le y \le 2\) , 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_erfcinv(0) returns \(+\infty\).

  • __nv_erfcinv(2) returns \(-\infty\).