Average Error: 0.0 → 0.0
Time: 4.9s
Precision: 64
\[x \cdot e^{y \cdot y}\]
\[e^{y \cdot y} \cdot x\]
x \cdot e^{y \cdot y}
e^{y \cdot y} \cdot x
double f(double x, double y) {
        double r16900176 = x;
        double r16900177 = y;
        double r16900178 = r16900177 * r16900177;
        double r16900179 = exp(r16900178);
        double r16900180 = r16900176 * r16900179;
        return r16900180;
}

double f(double x, double y) {
        double r16900181 = y;
        double r16900182 = r16900181 * r16900181;
        double r16900183 = exp(r16900182);
        double r16900184 = x;
        double r16900185 = r16900183 * r16900184;
        return r16900185;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original0.0
Target0.0
Herbie0.0
\[x \cdot {\left(e^{y}\right)}^{y}\]

Derivation

  1. Initial program 0.0

    \[x \cdot e^{y \cdot y}\]
  2. Final simplification0.0

    \[\leadsto e^{y \cdot y} \cdot x\]

Reproduce

herbie shell --seed 2019156 
(FPCore (x y)
  :name "Data.Number.Erf:$dmerfcx from erf-2.0.0.0"

  :herbie-target
  (* x (pow (exp y) y))

  (* x (exp (* y y))))