Average Error: 0.0 → 0.0
Time: 4.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 r211714 = 200.0;
        double r211715 = x;
        double r211716 = y;
        double r211717 = r211715 - r211716;
        double r211718 = r211714 * r211717;
        return r211718;
}

double f(double x, double y) {
        double r211719 = 200.0;
        double r211720 = x;
        double r211721 = y;
        double r211722 = r211720 - r211721;
        double r211723 = r211719 * r211722;
        return r211723;
}

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 2019209 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  :precision binary64
  (* 200 (- x y)))