Average Error: 0.0 → 0.0
Time: 13.1s
Precision: 64
\[e^{\left(x \cdot y\right) \cdot y}\]
\[e^{x \cdot \left(y \cdot y\right)}\]
e^{\left(x \cdot y\right) \cdot y}
e^{x \cdot \left(y \cdot y\right)}
double f(double x, double y) {
        double r8564069 = x;
        double r8564070 = y;
        double r8564071 = r8564069 * r8564070;
        double r8564072 = r8564071 * r8564070;
        double r8564073 = exp(r8564072);
        return r8564073;
}

double f(double x, double y) {
        double r8564074 = x;
        double r8564075 = y;
        double r8564076 = r8564075 * r8564075;
        double r8564077 = r8564074 * r8564076;
        double r8564078 = exp(r8564077);
        return r8564078;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[e^{\left(x \cdot y\right) \cdot y}\]
  2. Using strategy rm
  3. Applied associate-*l*0.0

    \[\leadsto e^{\color{blue}{x \cdot \left(y \cdot y\right)}}\]
  4. Final simplification0.0

    \[\leadsto e^{x \cdot \left(y \cdot y\right)}\]

Reproduce

herbie shell --seed 2019169 +o rules:numerics
(FPCore (x y)
  :name "Data.Random.Distribution.Normal:normalF from random-fu-0.2.6.2"
  (exp (* (* x y) y)))