Average Error: 0.2 → 0.2
Time: 8.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 r4026939 = x;
        double r4026940 = y;
        double r4026941 = r4026939 * r4026940;
        double r4026942 = r4026941 * r4026940;
        return r4026942;
}

double f(double x, double y) {
        double r4026943 = x;
        double r4026944 = y;
        double r4026945 = r4026943 * r4026944;
        double r4026946 = r4026945 * r4026944;
        return r4026946;
}

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