Average Error: 0.2 → 0.2
Time: 9.9s
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 r353543 = x;
        double r353544 = y;
        double r353545 = r353543 * r353544;
        double r353546 = r353545 * r353544;
        return r353546;
}

double f(double x, double y) {
        double r353547 = x;
        double r353548 = y;
        double r353549 = r353547 * r353548;
        double r353550 = r353549 * r353548;
        return r353550;
}

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