Average Error: 0.0 → 0.0
Time: 2.6s
Precision: 64
\[200 \cdot \left(x - y\right)\]
\[200 \cdot \left(x - y\right)\]
200 \cdot \left(x - y\right)
200 \cdot \left(x - y\right)
double f(double x, double y) {
        double r241835 = 200.0;
        double r241836 = x;
        double r241837 = y;
        double r241838 = r241836 - r241837;
        double r241839 = r241835 * r241838;
        return r241839;
}

double f(double x, double y) {
        double r241840 = 200.0;
        double r241841 = x;
        double r241842 = y;
        double r241843 = r241841 - r241842;
        double r241844 = r241840 * r241843;
        return r241844;
}

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

    \[200 \cdot \left(x - y\right)\]
  2. Final simplification0.0

    \[\leadsto 200 \cdot \left(x - y\right)\]

Reproduce

herbie shell --seed 2020020 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  :precision binary64
  (* 200 (- x y)))