Average Error: 0.2 → 0.2
Time: 20.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 r176376 = x;
        double r176377 = y;
        double r176378 = r176376 * r176377;
        double r176379 = r176378 * r176377;
        return r176379;
}

double f(double x, double y) {
        double r176380 = x;
        double r176381 = y;
        double r176382 = r176380 * r176381;
        double r176383 = r176382 * r176381;
        return r176383;
}

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