Average Error: 0.2 → 0.2
Time: 12.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 r182067 = x;
        double r182068 = y;
        double r182069 = r182067 * r182068;
        double r182070 = r182069 * r182068;
        return r182070;
}

double f(double x, double y) {
        double r182071 = x;
        double r182072 = y;
        double r182073 = r182071 * r182072;
        double r182074 = r182073 * r182072;
        return r182074;
}

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