Average Error: 0.2 → 0.2
Time: 3.6s
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 r205424 = x;
        double r205425 = y;
        double r205426 = r205424 * r205425;
        double r205427 = r205426 * r205425;
        return r205427;
}

double f(double x, double y) {
        double r205428 = x;
        double r205429 = y;
        double r205430 = r205428 * r205429;
        double r205431 = r205430 * r205429;
        return r205431;
}

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