Average Error: 0.0 → 0.0
Time: 15.7s
Precision: 64
\[x \cdot e^{y \cdot y}\]
\[x \cdot e^{y \cdot y}\]
x \cdot e^{y \cdot y}
x \cdot e^{y \cdot y}
double f(double x, double y) {
        double r545319 = x;
        double r545320 = y;
        double r545321 = r545320 * r545320;
        double r545322 = exp(r545321);
        double r545323 = r545319 * r545322;
        return r545323;
}

double f(double x, double y) {
        double r545324 = x;
        double r545325 = y;
        double r545326 = r545325 * r545325;
        double r545327 = exp(r545326);
        double r545328 = r545324 * r545327;
        return r545328;
}

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 x \cdot e^{y \cdot y}\]

Reproduce

herbie shell --seed 2019304 +o rules:numerics
(FPCore (x y)
  :name "Data.Number.Erf:$dmerfcx from erf-2.0.0.0"
  :precision binary64

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

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