Average Error: 0.2 → 0.2
Time: 8.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 r225141 = x;
        double r225142 = y;
        double r225143 = r225141 * r225142;
        double r225144 = r225143 * r225142;
        return r225144;
}

double f(double x, double y) {
        double r225145 = x;
        double r225146 = y;
        double r225147 = r225145 * r225146;
        double r225148 = r225147 * r225146;
        return r225148;
}

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