ERF.PRECISE
Returns the error function of a number.
This is the one-argument precise variant of ERF.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=ERF.PRECISE(x)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
x | any | Required | — |
How it works
Integrates exp(−t²) from zero to x and multiplies the result by 2 / √π. It is defined on the real line and changes sign when x does. Unlike ERF, it takes just one limit.
Remarks
- Input is numerically coerced.
- Equivalent to
ERF(x)in single-argument mode. - Results are approximate floating-point values.
Examples
Integrate the scaled Gaussian from zero to one.
Formula =ERF.PRECISE(1)
Expected result 0.842700792949715
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Reverse the orientation of the integral using a negative limit.
Formula =ERF.PRECISE(-1)
Expected result -0.842700792949715
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The integral from zero to zero vanishes.
Formula =ERF.PRECISE(0)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The input must be numeric.
Formula =ERF.PRECISE("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
How is ERF.PRECISE different from ERF?
ERF.PRECISE is the one-argument form only; numerically it matches ERF(x) for single input mode.