Average Error: 0.2 → 0.2
Time: 3.2s
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 r227726 = x;
        double r227727 = y;
        double r227728 = r227726 * r227727;
        double r227729 = r227728 * r227727;
        return r227729;
}

double f(double x, double y) {
        double r227730 = x;
        double r227731 = y;
        double r227732 = r227730 * r227731;
        double r227733 = r227732 * r227731;
        return r227733;
}

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