3.86. __nv_erfcf

float @__nv_erfcf(float %x)

Calculate the complementary error function of the input argument.

Calculate the complementary error function of the input argument x, 1 - erf(x).

Note

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

Returns

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

  • __nv_erfcf( \(+\infty\) ) returns +0.