Average Error: 0.2 → 0.2
Time: 7.0s
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 r215774 = x;
        double r215775 = y;
        double r215776 = r215774 * r215775;
        double r215777 = r215776 * r215775;
        return r215777;
}

double f(double x, double y) {
        double r215778 = x;
        double r215779 = y;
        double r215780 = r215778 * r215779;
        double r215781 = r215780 * r215779;
        return r215781;
}

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