?

Average Error: 13.3 → 13.3
Time: 17.5s
Precision: binary64
Cost: 54592

?

\[1 - \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right)\right) \cdot e^{-\left|x\right| \cdot \left|x\right|} \]
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ 1 - \frac{0.254829592 + \frac{\frac{1}{t_0} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{t_0}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{t_0}^{2}}\right)\right)}{t_0}}{t_0 \cdot e^{x \cdot x}} \end{array} \]
(FPCore (x)
 :precision binary64
 (-
  1.0
  (*
   (*
    (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x))))
    (+
     0.254829592
     (*
      (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x))))
      (+
       -0.284496736
       (*
        (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x))))
        (+
         1.421413741
         (*
          (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x))))
          (+
           -1.453152027
           (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429)))))))))
   (exp (- (* (fabs x) (fabs x)))))))
(FPCore (x)
 :precision binary64
 (let* ((t_0 (+ 1.0 (* 0.3275911 (fabs x)))))
   (-
    1.0
    (/
     (+
      0.254829592
      (/
       (+
        (* (/ 1.0 t_0) 1.421413741)
        (-
         (* 1.061405429 (/ 1.0 (pow t_0 3.0)))
         (+ 0.284496736 (* 1.453152027 (/ 1.0 (pow t_0 2.0))))))
       t_0))
     (* t_0 (exp (* x x)))))))
double code(double x) {
	return 1.0 - (((1.0 / (1.0 + (0.3275911 * fabs(x)))) * (0.254829592 + ((1.0 / (1.0 + (0.3275911 * fabs(x)))) * (-0.284496736 + ((1.0 / (1.0 + (0.3275911 * fabs(x)))) * (1.421413741 + ((1.0 / (1.0 + (0.3275911 * fabs(x)))) * (-1.453152027 + ((1.0 / (1.0 + (0.3275911 * fabs(x)))) * 1.061405429))))))))) * exp(-(fabs(x) * fabs(x))));
}
double code(double x) {
	double t_0 = 1.0 + (0.3275911 * fabs(x));
	return 1.0 - ((0.254829592 + ((((1.0 / t_0) * 1.421413741) + ((1.061405429 * (1.0 / pow(t_0, 3.0))) - (0.284496736 + (1.453152027 * (1.0 / pow(t_0, 2.0)))))) / t_0)) / (t_0 * exp((x * x))));
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = 1.0d0 - (((1.0d0 / (1.0d0 + (0.3275911d0 * abs(x)))) * (0.254829592d0 + ((1.0d0 / (1.0d0 + (0.3275911d0 * abs(x)))) * ((-0.284496736d0) + ((1.0d0 / (1.0d0 + (0.3275911d0 * abs(x)))) * (1.421413741d0 + ((1.0d0 / (1.0d0 + (0.3275911d0 * abs(x)))) * ((-1.453152027d0) + ((1.0d0 / (1.0d0 + (0.3275911d0 * abs(x)))) * 1.061405429d0))))))))) * exp(-(abs(x) * abs(x))))
end function
real(8) function code(x)
    real(8), intent (in) :: x
    real(8) :: t_0
    t_0 = 1.0d0 + (0.3275911d0 * abs(x))
    code = 1.0d0 - ((0.254829592d0 + ((((1.0d0 / t_0) * 1.421413741d0) + ((1.061405429d0 * (1.0d0 / (t_0 ** 3.0d0))) - (0.284496736d0 + (1.453152027d0 * (1.0d0 / (t_0 ** 2.0d0)))))) / t_0)) / (t_0 * exp((x * x))))
end function
public static double code(double x) {
	return 1.0 - (((1.0 / (1.0 + (0.3275911 * Math.abs(x)))) * (0.254829592 + ((1.0 / (1.0 + (0.3275911 * Math.abs(x)))) * (-0.284496736 + ((1.0 / (1.0 + (0.3275911 * Math.abs(x)))) * (1.421413741 + ((1.0 / (1.0 + (0.3275911 * Math.abs(x)))) * (-1.453152027 + ((1.0 / (1.0 + (0.3275911 * Math.abs(x)))) * 1.061405429))))))))) * Math.exp(-(Math.abs(x) * Math.abs(x))));
}
public static double code(double x) {
	double t_0 = 1.0 + (0.3275911 * Math.abs(x));
	return 1.0 - ((0.254829592 + ((((1.0 / t_0) * 1.421413741) + ((1.061405429 * (1.0 / Math.pow(t_0, 3.0))) - (0.284496736 + (1.453152027 * (1.0 / Math.pow(t_0, 2.0)))))) / t_0)) / (t_0 * Math.exp((x * x))));
}
def code(x):
	return 1.0 - (((1.0 / (1.0 + (0.3275911 * math.fabs(x)))) * (0.254829592 + ((1.0 / (1.0 + (0.3275911 * math.fabs(x)))) * (-0.284496736 + ((1.0 / (1.0 + (0.3275911 * math.fabs(x)))) * (1.421413741 + ((1.0 / (1.0 + (0.3275911 * math.fabs(x)))) * (-1.453152027 + ((1.0 / (1.0 + (0.3275911 * math.fabs(x)))) * 1.061405429))))))))) * math.exp(-(math.fabs(x) * math.fabs(x))))
def code(x):
	t_0 = 1.0 + (0.3275911 * math.fabs(x))
	return 1.0 - ((0.254829592 + ((((1.0 / t_0) * 1.421413741) + ((1.061405429 * (1.0 / math.pow(t_0, 3.0))) - (0.284496736 + (1.453152027 * (1.0 / math.pow(t_0, 2.0)))))) / t_0)) / (t_0 * math.exp((x * x))))
function code(x)
	return Float64(1.0 - Float64(Float64(Float64(1.0 / Float64(1.0 + Float64(0.3275911 * abs(x)))) * Float64(0.254829592 + Float64(Float64(1.0 / Float64(1.0 + Float64(0.3275911 * abs(x)))) * Float64(-0.284496736 + Float64(Float64(1.0 / Float64(1.0 + Float64(0.3275911 * abs(x)))) * Float64(1.421413741 + Float64(Float64(1.0 / Float64(1.0 + Float64(0.3275911 * abs(x)))) * Float64(-1.453152027 + Float64(Float64(1.0 / Float64(1.0 + Float64(0.3275911 * abs(x)))) * 1.061405429))))))))) * exp(Float64(-Float64(abs(x) * abs(x))))))
end
function code(x)
	t_0 = Float64(1.0 + Float64(0.3275911 * abs(x)))
	return Float64(1.0 - Float64(Float64(0.254829592 + Float64(Float64(Float64(Float64(1.0 / t_0) * 1.421413741) + Float64(Float64(1.061405429 * Float64(1.0 / (t_0 ^ 3.0))) - Float64(0.284496736 + Float64(1.453152027 * Float64(1.0 / (t_0 ^ 2.0)))))) / t_0)) / Float64(t_0 * exp(Float64(x * x)))))
end
function tmp = code(x)
	tmp = 1.0 - (((1.0 / (1.0 + (0.3275911 * abs(x)))) * (0.254829592 + ((1.0 / (1.0 + (0.3275911 * abs(x)))) * (-0.284496736 + ((1.0 / (1.0 + (0.3275911 * abs(x)))) * (1.421413741 + ((1.0 / (1.0 + (0.3275911 * abs(x)))) * (-1.453152027 + ((1.0 / (1.0 + (0.3275911 * abs(x)))) * 1.061405429))))))))) * exp(-(abs(x) * abs(x))));
end
function tmp = code(x)
	t_0 = 1.0 + (0.3275911 * abs(x));
	tmp = 1.0 - ((0.254829592 + ((((1.0 / t_0) * 1.421413741) + ((1.061405429 * (1.0 / (t_0 ^ 3.0))) - (0.284496736 + (1.453152027 * (1.0 / (t_0 ^ 2.0)))))) / t_0)) / (t_0 * exp((x * x))));
end
code[x_] := N[(1.0 - N[(N[(N[(1.0 / N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(0.254829592 + N[(N[(1.0 / N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(-0.284496736 + N[(N[(1.0 / N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.421413741 + N[(N[(1.0 / N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(-1.453152027 + N[(N[(1.0 / N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * 1.061405429), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[Exp[(-N[(N[Abs[x], $MachinePrecision] * N[Abs[x], $MachinePrecision]), $MachinePrecision])], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_] := Block[{t$95$0 = N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, N[(1.0 - N[(N[(0.254829592 + N[(N[(N[(N[(1.0 / t$95$0), $MachinePrecision] * 1.421413741), $MachinePrecision] + N[(N[(1.061405429 * N[(1.0 / N[Power[t$95$0, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(0.284496736 + N[(1.453152027 * N[(1.0 / N[Power[t$95$0, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$0), $MachinePrecision]), $MachinePrecision] / N[(t$95$0 * N[Exp[N[(x * x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
1 - \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right)\right) \cdot e^{-\left|x\right| \cdot \left|x\right|}
\begin{array}{l}
t_0 := 1 + 0.3275911 \cdot \left|x\right|\\
1 - \frac{0.254829592 + \frac{\frac{1}{t_0} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{t_0}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{t_0}^{2}}\right)\right)}{t_0}}{t_0 \cdot e^{x \cdot x}}
\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 13.3

    \[1 - \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right)\right) \cdot e^{-\left|x\right| \cdot \left|x\right|} \]
  2. Simplified13.3

    \[\leadsto \color{blue}{1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right) \cdot e^{x \cdot \left(-x\right)}\right)} \]
    Proof

    [Start]13.3

    \[ 1 - \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right)\right) \cdot e^{-\left|x\right| \cdot \left|x\right|} \]

    rational.json-simplify-2 [=>]13.3

    \[ 1 - \color{blue}{e^{-\left|x\right| \cdot \left|x\right|} \cdot \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right)\right)} \]

    rational.json-simplify-43 [=>]13.3

    \[ 1 - \color{blue}{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(1.421413741 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-1.453152027 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.061405429\right)\right)\right)\right) \cdot e^{-\left|x\right| \cdot \left|x\right|}\right)} \]
  3. Taylor expanded in x around 0 13.3

    \[\leadsto 1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(-0.284496736 + \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \color{blue}{\left(\left(1.421413741 + 1.061405429 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{2}}\right) - 1.453152027 \cdot \frac{1}{0.3275911 \cdot \left|x\right| + 1}\right)}\right)\right) \cdot e^{x \cdot \left(-x\right)}\right) \]
  4. Taylor expanded in x around inf 13.4

    \[\leadsto 1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \color{blue}{\frac{\left(1.061405429 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{3}} + 1.421413741 \cdot \frac{1}{0.3275911 \cdot \left|x\right| + 1}\right) - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{2}}\right)}{0.3275911 \cdot \left|x\right| + 1}}\right) \cdot e^{x \cdot \left(-x\right)}\right) \]
  5. Simplified13.3

    \[\leadsto 1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \color{blue}{\frac{1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} + \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}\right) \cdot e^{x \cdot \left(-x\right)}\right) \]
    Proof

    [Start]13.4

    \[ 1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \frac{\left(1.061405429 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{3}} + 1.421413741 \cdot \frac{1}{0.3275911 \cdot \left|x\right| + 1}\right) - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{2}}\right)}{0.3275911 \cdot \left|x\right| + 1}\right) \cdot e^{x \cdot \left(-x\right)}\right) \]

    rational.json-simplify-1 [=>]13.4

    \[ 1 - \frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot \left(\left(0.254829592 + \frac{\left(1.061405429 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{3}} + 1.421413741 \cdot \frac{1}{0.3275911 \cdot \left|x\right| + 1}\right) - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(0.3275911 \cdot \left|x\right| + 1\right)}^{2}}\right)}{\color{blue}{1 + 0.3275911 \cdot \left|x\right|}}\right) \cdot e^{x \cdot \left(-x\right)}\right) \]
  6. Applied egg-rr13.3

    \[\leadsto \color{blue}{\left(1 - \left(0.254829592 + \frac{1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} + \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}\right) \cdot \frac{e^{x \cdot \left(-x\right)}}{1 + 0.3275911 \cdot \left|x\right|}\right) + 0} \]
  7. Simplified13.3

    \[\leadsto \color{blue}{1 - \left(0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}\right) \cdot \frac{e^{x \cdot \left(-x\right)}}{1 + 0.3275911 \cdot \left|x\right|}} \]
    Proof

    [Start]13.3

    \[ \left(1 - \left(0.254829592 + \frac{1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} + \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}\right) \cdot \frac{e^{x \cdot \left(-x\right)}}{1 + 0.3275911 \cdot \left|x\right|}\right) + 0 \]

    rational.json-simplify-4 [=>]13.3

    \[ \color{blue}{1 - \left(0.254829592 + \frac{1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} + \left(\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}\right) \cdot \frac{e^{x \cdot \left(-x\right)}}{1 + 0.3275911 \cdot \left|x\right|}} \]
  8. Applied egg-rr13.3

    \[\leadsto \color{blue}{\left(1 - \frac{0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot e^{x \cdot x}}\right) + 0} \]
  9. Simplified13.3

    \[\leadsto \color{blue}{1 - \frac{0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot e^{x \cdot x}}} \]
    Proof

    [Start]13.3

    \[ \left(1 - \frac{0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot e^{x \cdot x}}\right) + 0 \]

    rational.json-simplify-4 [=>]13.3

    \[ \color{blue}{1 - \frac{0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot e^{x \cdot x}}} \]
  10. Final simplification13.3

    \[\leadsto 1 - \frac{0.254829592 + \frac{\frac{1}{1 + 0.3275911 \cdot \left|x\right|} \cdot 1.421413741 + \left(1.061405429 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{3}} - \left(0.284496736 + 1.453152027 \cdot \frac{1}{{\left(1 + 0.3275911 \cdot \left|x\right|\right)}^{2}}\right)\right)}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot e^{x \cdot x}} \]

Alternatives

Alternative 1
Error13.4
Cost47872
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ 1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \left(\frac{1.061405429}{{t_0}^{2}} - 1.453152027 \cdot \frac{1}{t_0}\right)}{t_0}}{t_0}}{t_0 \cdot e^{x \cdot x}} \end{array} \]
Alternative 2
Error13.3
Cost41408
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ 1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{2}{\left|x\right| \cdot 0.6551822 + 2} \cdot 1.061405429}{t_0}}{t_0}}{t_0}}{t_0 \cdot e^{x \cdot x}} \end{array} \]

Error

Reproduce?

herbie shell --seed 2023065 
(FPCore (x)
  :name "Jmat.Real.erf"
  :precision binary64
  (- 1.0 (* (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))) (exp (- (* (fabs x) (fabs x)))))))