Average Error: 0.2 → 0.2
Time: 9.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 r149934 = x;
        double r149935 = y;
        double r149936 = r149934 * r149935;
        double r149937 = r149936 * r149935;
        return r149937;
}

double f(double x, double y) {
        double r149938 = x;
        double r149939 = y;
        double r149940 = r149938 * r149939;
        double r149941 = r149940 * r149939;
        return r149941;
}

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