Average Error: 0.2 → 0.2
Time: 10.8s
Precision: 64
\[\left(x \cdot y\right) \cdot y\]
\[\left(x \cdot y\right) \cdot y\]
\left(x \cdot y\right) \cdot y
\left(x \cdot y\right) \cdot y
double f(double x, double y) {
        double r196577 = x;
        double r196578 = y;
        double r196579 = r196577 * r196578;
        double r196580 = r196579 * r196578;
        return r196580;
}

double f(double x, double y) {
        double r196581 = x;
        double r196582 = y;
        double r196583 = r196581 * r196582;
        double r196584 = r196583 * r196582;
        return r196584;
}

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.2

    \[\left(x \cdot y\right) \cdot y\]
  2. Final simplification0.2

    \[\leadsto \left(x \cdot y\right) \cdot y\]

Reproduce

herbie shell --seed 2019199 
(FPCore (x y)
  :name "Data.HyperLogLog.Config:hll from hyperloglog-0.3.4"
  (* (* x y) y))