3.90. __nv_erfcxf

float @__nv_erfcxf(float %x)

Calculate the scaled complementary error function of the input argument.

Calculate the scaled complementary error function of the input argument x, \(e^{x^2}\cdot \textrm{erfc}(x)\).

Note

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

Returns

  • __nv_erfcxf( \(-\infty\) ) returns \(+\infty\)

  • __nv_erfcxf( \(+\infty\) ) returns +0

  • __nv_erfcxf(x) returns \(+\infty\) if the correctly calculated value is outside the double floating point range.