Average Error: 0.2 → 0.2
Time: 3.1s
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 r227065 = x;
        double r227066 = y;
        double r227067 = r227065 * r227066;
        double r227068 = r227067 * r227066;
        return r227068;
}

double f(double x, double y) {
        double r227069 = x;
        double r227070 = y;
        double r227071 = r227069 * r227070;
        double r227072 = r227071 * r227070;
        return r227072;
}

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