Average Error: 0.0 → 0.0
Time: 25.2s
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 r36623941 = x;
        double r36623942 = y;
        double r36623943 = r36623942 * r36623942;
        double r36623944 = exp(r36623943);
        double r36623945 = r36623941 * r36623944;
        return r36623945;
}

double f(double x, double y) {
        double r36623946 = y;
        double r36623947 = r36623946 * r36623946;
        double r36623948 = exp(r36623947);
        double r36623949 = x;
        double r36623950 = r36623948 * r36623949;
        return r36623950;
}

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