Average Error: 0.0 → 0.0
Time: 360.0ms
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 r252962 = x;
        double r252963 = y;
        double r252964 = r252962 * r252963;
        double r252965 = r252964 - r252962;
        return r252965;
}

double f(double x, double y) {
        double r252966 = x;
        double r252967 = y;
        double r252968 = r252966 * r252967;
        double r252969 = r252968 - r252966;
        return r252969;
}

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