Average Error: 0.2 → 0.2
Time: 17.6s
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 r7810847 = x;
        double r7810848 = y;
        double r7810849 = r7810847 * r7810848;
        double r7810850 = r7810849 * r7810848;
        return r7810850;
}

double f(double x, double y) {
        double r7810851 = x;
        double r7810852 = y;
        double r7810853 = r7810851 * r7810852;
        double r7810854 = r7810853 * r7810852;
        return r7810854;
}

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