Average Error: 0.2 → 0.2
Time: 9.5s
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 r182759 = x;
        double r182760 = y;
        double r182761 = r182759 * r182760;
        double r182762 = r182761 * r182760;
        return r182762;
}

double f(double x, double y) {
        double r182763 = x;
        double r182764 = y;
        double r182765 = r182763 * r182764;
        double r182766 = r182765 * r182764;
        return r182766;
}

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 2019198 
(FPCore (x y)
  :name "Data.HyperLogLog.Config:hll from hyperloglog-0.3.4"
  (* (* x y) y))