Average Error: 0.2 → 0.2
Time: 4.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 r293338 = x;
        double r293339 = y;
        double r293340 = r293338 * r293339;
        double r293341 = r293340 * r293339;
        return r293341;
}

double f(double x, double y) {
        double r293342 = x;
        double r293343 = y;
        double r293344 = r293342 * r293343;
        double r293345 = r293344 * r293343;
        return r293345;
}

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