Average Error: 0.0 → 0.0
Time: 16.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 r23488686 = 200.0;
        double r23488687 = x;
        double r23488688 = y;
        double r23488689 = r23488687 - r23488688;
        double r23488690 = r23488686 * r23488689;
        return r23488690;
}

double f(double x, double y) {
        double r23488691 = x;
        double r23488692 = y;
        double r23488693 = r23488691 - r23488692;
        double r23488694 = 200.0;
        double r23488695 = r23488693 * r23488694;
        return r23488695;
}

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)))