Average Error: 0.0 → 0.0
Time: 11.7s
Precision: 64
\[x \cdot y - x\]
\[x \cdot y - x\]
x \cdot y - x
x \cdot y - x
double f(double x, double y) {
        double r12703551 = x;
        double r12703552 = y;
        double r12703553 = r12703551 * r12703552;
        double r12703554 = r12703553 - r12703551;
        return r12703554;
}

double f(double x, double y) {
        double r12703555 = x;
        double r12703556 = y;
        double r12703557 = r12703555 * r12703556;
        double r12703558 = r12703557 - r12703555;
        return r12703558;
}

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.0

    \[x \cdot y - x\]
  2. Final simplification0.0

    \[\leadsto x \cdot y - x\]

Reproduce

herbie shell --seed 2019163 
(FPCore (x y)
  :name "Data.Histogram.Bin.LogBinD:$cbinSizeN from histogram-fill-0.8.4.1"
  (- (* x y) x))