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 r191985 = x;
        double r191986 = y;
        double r191987 = r191985 * r191986;
        double r191988 = r191987 * r191986;
        return r191988;
}

double f(double x, double y) {
        double r191989 = x;
        double r191990 = y;
        double r191991 = r191989 * r191990;
        double r191992 = r191991 * r191990;
        return r191992;
}

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