Average Error: 0.0 → 0.0
Time: 13.3s
Precision: 64
\[200.0 \cdot \left(x - y\right)\]
\[\left(x - y\right) \cdot 200.0\]
200.0 \cdot \left(x - y\right)
\left(x - y\right) \cdot 200.0
double f(double x, double y) {
        double r13164373 = 200.0;
        double r13164374 = x;
        double r13164375 = y;
        double r13164376 = r13164374 - r13164375;
        double r13164377 = r13164373 * r13164376;
        return r13164377;
}

double f(double x, double y) {
        double r13164378 = x;
        double r13164379 = y;
        double r13164380 = r13164378 - r13164379;
        double r13164381 = 200.0;
        double r13164382 = r13164380 * r13164381;
        return r13164382;
}

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.0 \cdot \left(x - y\right)\]
  2. Final simplification0.0

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

Reproduce

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