Average Error: 0.2 → 0.2
Time: 12.8s
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 r208743 = x;
        double r208744 = y;
        double r208745 = r208743 * r208744;
        double r208746 = r208745 * r208744;
        return r208746;
}

double f(double x, double y) {
        double r208747 = x;
        double r208748 = y;
        double r208749 = r208747 * r208748;
        double r208750 = r208749 * r208748;
        return r208750;
}

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