Average Error: 0.2 → 0.2
Time: 3.7s
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 r214265 = x;
        double r214266 = y;
        double r214267 = r214265 * r214266;
        double r214268 = r214267 * r214266;
        return r214268;
}

double f(double x, double y) {
        double r214269 = x;
        double r214270 = y;
        double r214271 = r214269 * r214270;
        double r214272 = r214271 * r214270;
        return r214272;
}

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