Average Error: 0.2 → 0.2
Time: 18.2s
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 r13317956 = x;
        double r13317957 = y;
        double r13317958 = r13317956 * r13317957;
        double r13317959 = r13317958 * r13317957;
        return r13317959;
}

double f(double x, double y) {
        double r13317960 = x;
        double r13317961 = y;
        double r13317962 = r13317960 * r13317961;
        double r13317963 = r13317962 * r13317961;
        return r13317963;
}

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