Average Error: 0.2 → 0.2
Time: 3.5s
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 r255917 = x;
        double r255918 = y;
        double r255919 = r255917 * r255918;
        double r255920 = r255919 * r255918;
        return r255920;
}

double f(double x, double y) {
        double r255921 = x;
        double r255922 = y;
        double r255923 = r255921 * r255922;
        double r255924 = r255923 * r255922;
        return r255924;
}

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