Average Error: 0.2 → 0.2
Time: 4.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 r231625 = x;
        double r231626 = y;
        double r231627 = r231625 * r231626;
        double r231628 = r231627 * r231626;
        return r231628;
}

double f(double x, double y) {
        double r231629 = x;
        double r231630 = y;
        double r231631 = r231629 * r231630;
        double r231632 = r231631 * r231630;
        return r231632;
}

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