Average Error: 0.2 → 0.2
Time: 16.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 r10786932 = x;
        double r10786933 = y;
        double r10786934 = r10786932 * r10786933;
        double r10786935 = r10786934 * r10786933;
        return r10786935;
}

double f(double x, double y) {
        double r10786936 = x;
        double r10786937 = y;
        double r10786938 = r10786936 * r10786937;
        double r10786939 = r10786938 * r10786937;
        return r10786939;
}

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