Average Error: 0.2 → 0.2
Time: 3.4s
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 r232675 = x;
        double r232676 = y;
        double r232677 = r232675 * r232676;
        double r232678 = r232677 * r232676;
        return r232678;
}

double f(double x, double y) {
        double r232679 = x;
        double r232680 = y;
        double r232681 = r232679 * r232680;
        double r232682 = r232681 * r232680;
        return r232682;
}

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