Average Error: 0.2 → 0.2
Time: 20.1s
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 r242347 = x;
        double r242348 = y;
        double r242349 = r242347 * r242348;
        double r242350 = r242349 * r242348;
        return r242350;
}

double f(double x, double y) {
        double r242351 = x;
        double r242352 = y;
        double r242353 = r242351 * r242352;
        double r242354 = r242353 * r242352;
        return r242354;
}

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 2020043 +o rules:numerics
(FPCore (x y)
  :name "Data.HyperLogLog.Config:hll from hyperloglog-0.3.4"
  :precision binary64
  (* (* x y) y))