Average Error: 0.0 → 0.0
Time: 8.0s
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 r807936 = 200.0;
        double r807937 = x;
        double r807938 = y;
        double r807939 = r807937 - r807938;
        double r807940 = r807936 * r807939;
        return r807940;
}

double f(double x, double y) {
        double r807941 = x;
        double r807942 = y;
        double r807943 = r807941 - r807942;
        double r807944 = 200.0;
        double r807945 = r807943 * r807944;
        return r807945;
}

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