Average Error: 0.2 → 0.2
Time: 32.7s
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 r9947937 = x;
        double r9947938 = y;
        double r9947939 = r9947937 * r9947938;
        double r9947940 = r9947939 * r9947938;
        return r9947940;
}

double f(double x, double y) {
        double r9947941 = x;
        double r9947942 = y;
        double r9947943 = r9947941 * r9947942;
        double r9947944 = r9947943 * r9947942;
        return r9947944;
}

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