Average Error: 0.2 → 0.2
Time: 16.1s
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 r7973461 = x;
        double r7973462 = y;
        double r7973463 = r7973461 * r7973462;
        double r7973464 = r7973463 * r7973462;
        return r7973464;
}

double f(double x, double y) {
        double r7973465 = x;
        double r7973466 = y;
        double r7973467 = r7973465 * r7973466;
        double r7973468 = r7973467 * r7973466;
        return r7973468;
}

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