XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Erfc()

Function Erfc ( X As  Double,
Optional Info As  Long 
)

Complementary error function erfc(x)

Purpose
This routine computes the complementary error function.
erfc(x) = 2/√π ∫exp(-t^2) dt [x, ∞]
Returns
Double
Complementary error function erfc(x).
Parameters
[in]XArgument x.
[out]Info(Optional) = 0: Successful exit.
= 1: Floating point range error.