Average Error: 0.2 → 0.2
Time: 3.4s
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 r352987 = x;
        double r352988 = y;
        double r352989 = r352987 * r352988;
        double r352990 = r352989 * r352988;
        return r352990;
}

double f(double x, double y) {
        double r352991 = x;
        double r352992 = y;
        double r352993 = r352991 * r352992;
        double r352994 = r352993 * r352992;
        return r352994;
}

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