Average Error: 0.0 → 0.0
Time: 11.1s
Precision: 64
\[200 \cdot \left(x - y\right)\]
\[\left(x - y\right) \cdot 200\]
200 \cdot \left(x - y\right)
\left(x - y\right) \cdot 200
double f(double x, double y) {
        double r17184579 = 200.0;
        double r17184580 = x;
        double r17184581 = y;
        double r17184582 = r17184580 - r17184581;
        double r17184583 = r17184579 * r17184582;
        return r17184583;
}

double f(double x, double y) {
        double r17184584 = x;
        double r17184585 = y;
        double r17184586 = r17184584 - r17184585;
        double r17184587 = 200.0;
        double r17184588 = r17184586 * r17184587;
        return r17184588;
}

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 \left(x - y\right) \cdot 200\]

Reproduce

herbie shell --seed 2019171 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  (* 200.0 (- x y)))