Average Error: 0.2 → 0.2
Time: 14.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 r14671379 = x;
        double r14671380 = y;
        double r14671381 = r14671379 * r14671380;
        double r14671382 = r14671381 * r14671380;
        return r14671382;
}

double f(double x, double y) {
        double r14671383 = x;
        double r14671384 = y;
        double r14671385 = r14671383 * r14671384;
        double r14671386 = r14671385 * r14671384;
        return r14671386;
}

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