Average Error: 0.2 → 0.2
Time: 2.9s
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 r239377 = x;
        double r239378 = y;
        double r239379 = r239377 * r239378;
        double r239380 = r239379 * r239378;
        return r239380;
}

double f(double x, double y) {
        double r239381 = x;
        double r239382 = y;
        double r239383 = r239381 * r239382;
        double r239384 = r239383 * r239382;
        return r239384;
}

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))