Average Error: 0.2 → 0.2
Time: 14.9s
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 r12265313 = x;
        double r12265314 = y;
        double r12265315 = r12265313 * r12265314;
        double r12265316 = r12265315 * r12265314;
        return r12265316;
}

double f(double x, double y) {
        double r12265317 = x;
        double r12265318 = y;
        double r12265319 = r12265317 * r12265318;
        double r12265320 = r12265319 * r12265318;
        return r12265320;
}

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