Average Error: 0.0 → 0.0
Time: 2.3s
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 r186696 = 200.0;
        double r186697 = x;
        double r186698 = y;
        double r186699 = r186697 - r186698;
        double r186700 = r186696 * r186699;
        return r186700;
}

double f(double x, double y) {
        double r186701 = 200.0;
        double r186702 = x;
        double r186703 = y;
        double r186704 = r186702 - r186703;
        double r186705 = r186701 * r186704;
        return r186705;
}

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