Average Error: 0.0 → 0.0
Time: 21.3s
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 r41504192 = x;
        double r41504193 = y;
        double r41504194 = r41504193 * r41504193;
        double r41504195 = exp(r41504194);
        double r41504196 = r41504192 * r41504195;
        return r41504196;
}

double f(double x, double y) {
        double r41504197 = y;
        double r41504198 = r41504197 * r41504197;
        double r41504199 = exp(r41504198);
        double r41504200 = x;
        double r41504201 = r41504199 * r41504200;
        return r41504201;
}

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 2019168 
(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))))