Average Error: 0.2 → 0.2
Time: 13.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 r11626301 = x;
        double r11626302 = y;
        double r11626303 = r11626301 * r11626302;
        double r11626304 = r11626303 * r11626302;
        return r11626304;
}

double f(double x, double y) {
        double r11626305 = x;
        double r11626306 = y;
        double r11626307 = r11626305 * r11626306;
        double r11626308 = r11626307 * r11626306;
        return r11626308;
}

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