Average Error: 0.2 → 0.2
Time: 8.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 r195030 = x;
        double r195031 = y;
        double r195032 = r195030 * r195031;
        double r195033 = r195032 * r195031;
        return r195033;
}

double f(double x, double y) {
        double r195034 = x;
        double r195035 = y;
        double r195036 = r195034 * r195035;
        double r195037 = r195036 * r195035;
        return r195037;
}

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