Average Error: 0.2 → 0.2
Time: 6.7s
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 r221964 = x;
        double r221965 = y;
        double r221966 = r221964 * r221965;
        double r221967 = r221966 * r221965;
        return r221967;
}

double f(double x, double y) {
        double r221968 = x;
        double r221969 = y;
        double r221970 = r221968 * r221969;
        double r221971 = r221970 * r221969;
        return r221971;
}

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