Average Error: 0.0 → 0.0
Time: 2.8s
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 r13766798 = x;
        double r13766799 = y;
        double r13766800 = r13766798 * r13766799;
        double r13766801 = r13766800 - r13766798;
        return r13766801;
}

double f(double x, double y) {
        double r13766802 = x;
        double r13766803 = y;
        double r13766804 = r13766802 * r13766803;
        double r13766805 = r13766804 - r13766802;
        return r13766805;
}

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 2019179 
(FPCore (x y)
  :name "Data.Histogram.Bin.LogBinD:$cbinSizeN from histogram-fill-0.8.4.1"
  (- (* x y) x))