Average Error: 0.2 → 0.2
Time: 51.4s
Precision: 64
\[\left(x \cdot y\right) \cdot y\]
\[\left(y \cdot x\right) \cdot y\]
\left(x \cdot y\right) \cdot y
\left(y \cdot x\right) \cdot y
double f(double x, double y) {
        double r12793937 = x;
        double r12793938 = y;
        double r12793939 = r12793937 * r12793938;
        double r12793940 = r12793939 * r12793938;
        return r12793940;
}

double f(double x, double y) {
        double r12793941 = y;
        double r12793942 = x;
        double r12793943 = r12793941 * r12793942;
        double r12793944 = r12793943 * r12793941;
        return r12793944;
}

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(y \cdot x\right) \cdot y\]

Reproduce

herbie shell --seed 2019200 
(FPCore (x y)
  :name "Data.HyperLogLog.Config:hll from hyperloglog-0.3.4"
  (* (* x y) y))