Function note

Above 0.5, ERFC rounds x*x before the exponential, so the tail drifts by hundreds of units

FUNC.ERFC · FUNC.ERFC.PRECISE

FN-ERFC-001: Above 0.5, ERFC rounds x*x before the exponential, so the tail drifts by hundreds of units

Excel differs from the mathematical answer · measured · recorded 2026-11-04

With RN(v) meaning v rounded to 64 bits on the x87 unit and then stored to binary64, ERFC for x >= 0.5 behaves as Q = E*F with z = RN(x*x) and E = exp(-z) stored to binary64, then multiplied by a factor F that is not identified. So the rounding error of x*x reaches the answer at full size. At x = 26.543000000000003, x*x exceeds z by 4.64E-14, which at the size of this answer is about 212 units, and Excel's answer is 212 units above the correctly rounded erfc. Near x = 5.93 the same effect is 23 units. For small x, where x*x is exact or nearly so, the answer stays within a few units.

Call and input routeInputsExcelCorrect valueRecorded in
ERFC.PRECISE(26.543000000000003)
cell-value2
x: 26.543000000000003
0x403a8b020c49ba5f
2.2558350220536164e-308
0x001038a055f6d0d3
2.2558350220535116e-308
0x001038a055f6cfff
Excel 16.0 build 20131, platform and bitness not recorded, AMD Ryzen 7 4800H
ERFC.PRECISE(5.927083333333333)
cell-value2
x: 5.927083333333333
0x4017b55555555555
5.1964407001614455e-17
0x3c8df497ca9a0a49
5.1964407001614313e-17
0x3c8df497ca9a0a32
Excel 16.0 build 20131, platform and bitness not recorded, AMD Ryzen 7 4800H
ERFC.PRECISE(2.0)
cell-value2
x: 2
0x4000000000000000
0.0046777349810472645
0x3f7328f5ec350e65
0.004677734981047266
0x3f7328f5ec350e67
Excel 16.0 build 20131, platform and bitness not recorded, AMD Ryzen 7 4800H

Correct value: mpmath erfc at 800 bits from the binary64 input, correctly rounded.

Correct value: mpmath erfc at 800 bits from the binary64 input, correctly rounded.

Correct value: mpmath erfc at 800 bits from the binary64 input, correctly rounded.

Basis: 220,000 Excel answers from 0.5 to 26.5 (build 20527) compared with E times the true exp(x*x)*erfc(x). With z = RN(x*x) and E stored, the residual stays within about 10 units of 2^-53 at every x. At x = 24 the exact exp(-x*x) spreads with a standard deviation of 287 units, Cody's and fdlibm's fractional splits of x*x spread the same, and plain binary64 x*x leaves outliers of up to 1,024 units.

Inferred: F is not a closed form: y = RN(E*RN(F)) with any offset matches 40% of answers at best. Its noise tracks about a dozen smooth curves, consistent with two polynomials of degree about 8 in x with shapes near Cephes' erfc P and Q, but that is a reading of shape only, and no table has been matched.

Open: F, so the last bits: with a stand-in for F, recorded rows match ERFC 234 of 544 and ERFC.PRECISE 1,062 of 1,863, with no answer more than 6 units away.

Open: The mean of the residual is flat with sharp steps of about 0.4 units, at x = 1.11567925... and 1.1217 among about 80 in [0.5, 27]. No stored polynomial value varies that slowly, and this is unexplained.

Evidence and capture sources

Machine-readable note records