?

Average Error: 20.4% → 0.31%
Time: 28.9s
Precision: binary64
Cost: 216516

?

\[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 := \mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)\\ t_1 := 1 + 0.3275911 \cdot \left|x\right|\\ t_2 := 0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_1}}{t_1}}{t_1}}{t_1}\\ t_3 := {\left(e^{x}\right)}^{x}\\ t_4 := \frac{t_2}{t_1 \cdot t_3}\\ \mathbf{if}\;x \leq -1.6 \cdot 10^{-7}:\\ \;\;\;\;\frac{\frac{\log \left(e^{1 - {t_4}^{6}}\right)}{1 + \left({t_4}^{2} + {t_4}^{4}\right)}}{1 + \frac{\frac{t_2}{t_1}}{e^{x \cdot x}}}\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \sqrt[3]{\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}}}{t_0}}{t_0}}{t_0}}{t_3 \cdot t_0}\\ \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 (fma 0.3275911 (fabs x) 1.0))
        (t_1 (+ 1.0 (* 0.3275911 (fabs x))))
        (t_2
         (+
          0.254829592
          (/
           (+
            -0.284496736
            (/
             (+ 1.421413741 (/ (+ -1.453152027 (/ 1.061405429 t_1)) t_1))
             t_1))
           t_1)))
        (t_3 (pow (exp x) x))
        (t_4 (/ t_2 (* t_1 t_3))))
   (if (<= x -1.6e-7)
     (/
      (/
       (log (exp (- 1.0 (pow t_4 6.0))))
       (+ 1.0 (+ (pow t_4 2.0) (pow t_4 4.0))))
      (+ 1.0 (/ (/ t_2 t_1) (exp (* x x)))))
     (if (<= x 7.5e-7)
       (+ 1e-9 (sqrt (* x (* x 1.2732557730789702))))
       (-
        1.0
        (/
         (+
          0.254829592
          (/
           (+
            -0.284496736
            (/
             (+
              1.421413741
              (/
               (+
                -1.453152027
                (cbrt (/ 1.1957597040827899 (pow (fma 0.3275911 x 1.0) 3.0))))
               t_0))
             t_0))
           t_0))
         (* t_3 t_0)))))))
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 = fma(0.3275911, fabs(x), 1.0);
	double t_1 = 1.0 + (0.3275911 * fabs(x));
	double t_2 = 0.254829592 + ((-0.284496736 + ((1.421413741 + ((-1.453152027 + (1.061405429 / t_1)) / t_1)) / t_1)) / t_1);
	double t_3 = pow(exp(x), x);
	double t_4 = t_2 / (t_1 * t_3);
	double tmp;
	if (x <= -1.6e-7) {
		tmp = (log(exp((1.0 - pow(t_4, 6.0)))) / (1.0 + (pow(t_4, 2.0) + pow(t_4, 4.0)))) / (1.0 + ((t_2 / t_1) / exp((x * x))));
	} else if (x <= 7.5e-7) {
		tmp = 1e-9 + sqrt((x * (x * 1.2732557730789702)));
	} else {
		tmp = 1.0 - ((0.254829592 + ((-0.284496736 + ((1.421413741 + ((-1.453152027 + cbrt((1.1957597040827899 / pow(fma(0.3275911, x, 1.0), 3.0)))) / t_0)) / t_0)) / t_0)) / (t_3 * t_0));
	}
	return tmp;
}
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 = fma(0.3275911, abs(x), 1.0)
	t_1 = Float64(1.0 + Float64(0.3275911 * abs(x)))
	t_2 = Float64(0.254829592 + Float64(Float64(-0.284496736 + Float64(Float64(1.421413741 + Float64(Float64(-1.453152027 + Float64(1.061405429 / t_1)) / t_1)) / t_1)) / t_1))
	t_3 = exp(x) ^ x
	t_4 = Float64(t_2 / Float64(t_1 * t_3))
	tmp = 0.0
	if (x <= -1.6e-7)
		tmp = Float64(Float64(log(exp(Float64(1.0 - (t_4 ^ 6.0)))) / Float64(1.0 + Float64((t_4 ^ 2.0) + (t_4 ^ 4.0)))) / Float64(1.0 + Float64(Float64(t_2 / t_1) / exp(Float64(x * x)))));
	elseif (x <= 7.5e-7)
		tmp = Float64(1e-9 + sqrt(Float64(x * Float64(x * 1.2732557730789702))));
	else
		tmp = Float64(1.0 - Float64(Float64(0.254829592 + Float64(Float64(-0.284496736 + Float64(Float64(1.421413741 + Float64(Float64(-1.453152027 + cbrt(Float64(1.1957597040827899 / (fma(0.3275911, x, 1.0) ^ 3.0)))) / t_0)) / t_0)) / t_0)) / Float64(t_3 * t_0)));
	end
	return tmp
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[(0.3275911 * N[Abs[x], $MachinePrecision] + 1.0), $MachinePrecision]}, Block[{t$95$1 = N[(1.0 + N[(0.3275911 * N[Abs[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(0.254829592 + N[(N[(-0.284496736 + N[(N[(1.421413741 + N[(N[(-1.453152027 + N[(1.061405429 / t$95$1), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[Power[N[Exp[x], $MachinePrecision], x], $MachinePrecision]}, Block[{t$95$4 = N[(t$95$2 / N[(t$95$1 * t$95$3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.6e-7], N[(N[(N[Log[N[Exp[N[(1.0 - N[Power[t$95$4, 6.0], $MachinePrecision]), $MachinePrecision]], $MachinePrecision]], $MachinePrecision] / N[(1.0 + N[(N[Power[t$95$4, 2.0], $MachinePrecision] + N[Power[t$95$4, 4.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(1.0 + N[(N[(t$95$2 / t$95$1), $MachinePrecision] / N[Exp[N[(x * x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.5e-7], N[(1e-9 + N[Sqrt[N[(x * N[(x * 1.2732557730789702), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], N[(1.0 - N[(N[(0.254829592 + N[(N[(-0.284496736 + N[(N[(1.421413741 + N[(N[(-1.453152027 + N[Power[N[(1.1957597040827899 / N[Power[N[(0.3275911 * x + 1.0), $MachinePrecision], 3.0], $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision] / t$95$0), $MachinePrecision]), $MachinePrecision] / t$95$0), $MachinePrecision]), $MachinePrecision] / t$95$0), $MachinePrecision]), $MachinePrecision] / N[(t$95$3 * t$95$0), $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 := \mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)\\
t_1 := 1 + 0.3275911 \cdot \left|x\right|\\
t_2 := 0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_1}}{t_1}}{t_1}}{t_1}\\
t_3 := {\left(e^{x}\right)}^{x}\\
t_4 := \frac{t_2}{t_1 \cdot t_3}\\
\mathbf{if}\;x \leq -1.6 \cdot 10^{-7}:\\
\;\;\;\;\frac{\frac{\log \left(e^{1 - {t_4}^{6}}\right)}{1 + \left({t_4}^{2} + {t_4}^{4}\right)}}{1 + \frac{\frac{t_2}{t_1}}{e^{x \cdot x}}}\\

\mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\
\;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\

\mathbf{else}:\\
\;\;\;\;1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \sqrt[3]{\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}}}{t_0}}{t_0}}{t_0}}{t_3 \cdot t_0}\\


\end{array}

Error?

Derivation?

  1. Split input into 3 regimes
  2. if x < -1.6e-7

    1. Initial program 0.44

      \[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. Applied egg-rr0.45

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

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

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

    if -1.6e-7 < x < 7.5000000000000002e-7

    1. Initial program 42.28

      \[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. Simplified42.29

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

      [Start]42.28

      \[ 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|} \]

      associate-*l/ [=>]42.28

      \[ 1 - \color{blue}{\frac{1 \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)}{1 + 0.3275911 \cdot \left|x\right|}} \cdot e^{-\left|x\right| \cdot \left|x\right|} \]

      *-lft-identity [=>]42.28

      \[ 1 - \frac{\color{blue}{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)}}{1 + 0.3275911 \cdot \left|x\right|} \cdot e^{-\left|x\right| \cdot \left|x\right|} \]
    3. Applied egg-rr42.62

      \[\leadsto \color{blue}{1 + \left(-\frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right) \cdot {\left(e^{x}\right)}^{x}}\right)} \]
    4. Simplified42.62

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

      [Start]42.62

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

      distribute-neg-frac [=>]42.62

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

      *-commutative [=>]42.62

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

      neg-sub0 [=>]42.62

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

      associate--r+ [=>]42.62

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

      metadata-eval [=>]42.62

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

      exp-prod [<=]42.62

      \[ 1 + \frac{-0.254829592 - \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\mathsf{fma}\left(0.3275911, x, 1\right)}}{\color{blue}{e^{x \cdot x}} \cdot \mathsf{fma}\left(0.3275911, x, 1\right)} \]
    5. Taylor expanded in x around 0 1.34

      \[\leadsto \color{blue}{10^{-9} + 1.128386358070218 \cdot x} \]
    6. Applied egg-rr0.22

      \[\leadsto 10^{-9} + \color{blue}{\sqrt{1.2732557730789702 \cdot \left(x \cdot x\right)}} \]
    7. Simplified0.22

      \[\leadsto 10^{-9} + \color{blue}{\sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}} \]
      Proof

      [Start]0.22

      \[ 10^{-9} + \sqrt{1.2732557730789702 \cdot \left(x \cdot x\right)} \]

      *-commutative [=>]0.22

      \[ 10^{-9} + \sqrt{\color{blue}{\left(x \cdot x\right) \cdot 1.2732557730789702}} \]

      associate-*l* [=>]0.22

      \[ 10^{-9} + \sqrt{\color{blue}{x \cdot \left(x \cdot 1.2732557730789702\right)}} \]

    if 7.5000000000000002e-7 < x

    1. Initial program 0.31

      \[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. Simplified0.32

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

      [Start]0.31

      \[ 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|} \]

      associate-*l/ [=>]0.31

      \[ 1 - \color{blue}{\frac{1 \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)}{1 + 0.3275911 \cdot \left|x\right|}} \cdot e^{-\left|x\right| \cdot \left|x\right|} \]

      *-lft-identity [=>]0.31

      \[ 1 - \frac{\color{blue}{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)}}{1 + 0.3275911 \cdot \left|x\right|} \cdot e^{-\left|x\right| \cdot \left|x\right|} \]
    3. Applied egg-rr0.33

      \[\leadsto 1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \color{blue}{{\left(\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}\right)}^{0.3333333333333333}}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right) \cdot {\left(e^{x}\right)}^{x}} \]
    4. Simplified0.32

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

      [Start]0.33

      \[ 1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + {\left(\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}\right)}^{0.3333333333333333}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right) \cdot {\left(e^{x}\right)}^{x}} \]

      unpow1/3 [=>]0.32

      \[ 1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \color{blue}{\sqrt[3]{\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}}}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right) \cdot {\left(e^{x}\right)}^{x}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification0.31

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.6 \cdot 10^{-7}:\\ \;\;\;\;\frac{\frac{\log \left(e^{1 - {\left(\frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot {\left(e^{x}\right)}^{x}}\right)}^{6}}\right)}{1 + \left({\left(\frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot {\left(e^{x}\right)}^{x}}\right)}^{2} + {\left(\frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{\left(1 + 0.3275911 \cdot \left|x\right|\right) \cdot {\left(e^{x}\right)}^{x}}\right)}^{4}\right)}}{1 + \frac{\frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{1 + 0.3275911 \cdot \left|x\right|}}{e^{x \cdot x}}}\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \sqrt[3]{\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{\mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}}{{\left(e^{x}\right)}^{x} \cdot \mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)}\\ \end{array} \]

Alternatives

Alternative 1
Error0.3%
Cost85704
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ t_1 := \mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)\\ \mathbf{if}\;x \leq -1.4 \cdot 10^{-6}:\\ \;\;\;\;\mathsf{fma}\left(\frac{{\left(e^{x}\right)}^{\left(-x\right)}}{t_1}, -0.254829592 + \frac{0.284496736 + \frac{-1.453152027 \cdot \frac{-1}{t_0} - \left(1.421413741 + 1.061405429 \cdot \frac{1}{{t_0}^{2}}\right)}{t_1}}{t_0}, 1\right)\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 - \frac{0.254829592 + \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \sqrt[3]{\frac{1.1957597040827899}{{\left(\mathsf{fma}\left(0.3275911, x, 1\right)\right)}^{3}}}}{t_1}}{t_1}}{t_1}}{{\left(e^{x}\right)}^{x} \cdot t_1}\\ \end{array} \]
Alternative 2
Error0.3%
Cost73348
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ t_1 := \frac{1}{t_0}\\ t_2 := \mathsf{fma}\left(0.3275911, \left|x\right|, 1\right)\\ t_3 := -1.453152027 + \frac{-1.061405429}{t_0}\\ \mathbf{if}\;x \leq -1.4 \cdot 10^{-6}:\\ \;\;\;\;\mathsf{fma}\left(\frac{{\left(e^{x}\right)}^{\left(-x\right)}}{t_2}, -0.254829592 + \frac{0.284496736 + \frac{-1.453152027 \cdot \frac{-1}{t_0} - \left(1.421413741 + 1.061405429 \cdot \frac{1}{{t_0}^{2}}\right)}{t_2}}{t_0}, 1\right)\\ \mathbf{elif}\;x \leq 1.25 \cdot 10^{-6}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 - t_1 \cdot \left(\left(0.254829592 + t_1 \cdot \left(-0.284496736 + t_1 \cdot \left(1.421413741 + t_1 \cdot \left(\frac{2.111650813574209}{t_3} + \frac{{t_0}^{-2} \cdot -1.126581484710674}{t_3}\right)\right)\right)\right) \cdot e^{x \cdot \left(-x\right)}\right)\\ \end{array} \]
Alternative 3
Error0.3%
Cost62664
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ t_1 := -1.453152027 + \frac{-1.061405429}{t_0}\\ t_2 := \frac{1}{t_0}\\ t_3 := e^{x \cdot \left(-x\right)}\\ \mathbf{if}\;x \leq -1.4 \cdot 10^{-6}:\\ \;\;\;\;1 - \left(t_2 \cdot \left(0.254829592 + t_2 \cdot \left(-0.284496736 + \left(\left(1.421413741 + 1.061405429 \cdot \frac{1}{{t_0}^{2}}\right) + -1.453152027 \cdot t_2\right) \cdot t_2\right)\right)\right) \cdot t_3\\ \mathbf{elif}\;x \leq 1.25 \cdot 10^{-6}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 - t_2 \cdot \left(\left(0.254829592 + t_2 \cdot \left(-0.284496736 + t_2 \cdot \left(1.421413741 + t_2 \cdot \left(\frac{2.111650813574209}{t_1} + \frac{{t_0}^{-2} \cdot -1.126581484710674}{t_1}\right)\right)\right)\right) \cdot t_3\right)\\ \end{array} \]
Alternative 4
Error0.3%
Cost48580
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ t_1 := \frac{1}{t_0}\\ \mathbf{if}\;x \leq -1.4 \cdot 10^{-6}:\\ \;\;\;\;1 - \left(t_1 \cdot \left(0.254829592 + t_1 \cdot \left(-0.284496736 + \left(\left(1.421413741 + 1.061405429 \cdot \frac{1}{{t_0}^{2}}\right) + -1.453152027 \cdot t_1\right) \cdot t_1\right)\right)\right) \cdot e^{x \cdot \left(-x\right)}\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 + \frac{\frac{-0.254829592 + \frac{0.284496736 - \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_0}}{t_0}}{t_0}}{t_0}}{t_0}}{e^{x \cdot x}}\\ \end{array} \]
Alternative 5
Error0.44%
Cost47812
\[\begin{array}{l} t_0 := 1 + 0.3275911 \cdot \left|x\right|\\ \mathbf{if}\;\left|x\right| \leq 2 \cdot 10^{-11}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 + \frac{\frac{-0.254829592 + \frac{0.284496736 - \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_0}}{t_0}}{t_0}}{t_0}}{t_0}}{e^{x \cdot x}}\\ \end{array} \]
Alternative 6
Error0.51%
Cost35076
\[\begin{array}{l} t_0 := 1 + x \cdot 0.3275911\\ t_1 := 1 + \frac{-0.254829592 - \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_0}}{t_0}}{t_0}}{t_0}}{e^{x \cdot x} \cdot t_0}\\ \mathbf{if}\;x \leq -0.0015:\\ \;\;\;\;e^{\log \left(\sqrt{{t_1}^{2}}\right)}\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 7
Error0.51%
Cost9544
\[\begin{array}{l} t_0 := 1 + x \cdot 0.3275911\\ \mathbf{if}\;x \leq -0.88:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 7.5 \cdot 10^{-7}:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1 + \frac{-0.254829592 - \frac{-0.284496736 + \frac{1.421413741 + \frac{-1.453152027 + \frac{1.061405429}{t_0}}{t_0}}{t_0}}{t_0}}{e^{x \cdot x} \cdot t_0}\\ \end{array} \]
Alternative 8
Error0.72%
Cost7112
\[\begin{array}{l} \mathbf{if}\;x \leq -0.88:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 0.9:\\ \;\;\;\;10^{-9} + \sqrt{x \cdot \left(x \cdot 1.2732557730789702\right)}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 9
Error1.48%
Cost584
\[\begin{array}{l} \mathbf{if}\;x \leq -9 \cdot 10^{-10}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 0.9:\\ \;\;\;\;10^{-9} + x \cdot 1.128386358070218\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 10
Error2.2%
Cost328
\[\begin{array}{l} \mathbf{if}\;x \leq -2.8 \cdot 10^{-5}:\\ \;\;\;\;1\\ \mathbf{elif}\;x \leq 2.8 \cdot 10^{-5}:\\ \;\;\;\;10^{-9}\\ \mathbf{else}:\\ \;\;\;\;1\\ \end{array} \]
Alternative 11
Error47.58%
Cost64
\[10^{-9} \]

Error

Reproduce?

herbie shell --seed 2023089 
(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)))))))