Average Error: 0.2 → 0.2
Time: 18.3s
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 r143521 = x;
        double r143522 = y;
        double r143523 = r143521 * r143522;
        double r143524 = r143523 * r143522;
        return r143524;
}

double f(double x, double y) {
        double r143525 = x;
        double r143526 = y;
        double r143527 = r143525 * r143526;
        double r143528 = r143527 * r143526;
        return r143528;
}

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