Average Error: 0.2 → 0.2
Time: 3.3s
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 r764303 = x;
        double r764304 = y;
        double r764305 = r764303 * r764304;
        double r764306 = r764305 * r764304;
        return r764306;
}

double f(double x, double y) {
        double r764307 = x;
        double r764308 = y;
        double r764309 = r764307 * r764308;
        double r764310 = r764309 * r764308;
        return r764310;
}

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