Average Error: 0.0 → 0.0
Time: 31.6s
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 r13489673 = 200.0;
        double r13489674 = x;
        double r13489675 = y;
        double r13489676 = r13489674 - r13489675;
        double r13489677 = r13489673 * r13489676;
        return r13489677;
}

double f(double x, double y) {
        double r13489678 = x;
        double r13489679 = y;
        double r13489680 = r13489678 - r13489679;
        double r13489681 = 200.0;
        double r13489682 = r13489680 * r13489681;
        return r13489682;
}

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