Average Error: 0.0 → 0.0
Time: 15.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 r15944828 = 200.0;
        double r15944829 = x;
        double r15944830 = y;
        double r15944831 = r15944829 - r15944830;
        double r15944832 = r15944828 * r15944831;
        return r15944832;
}

double f(double x, double y) {
        double r15944833 = x;
        double r15944834 = y;
        double r15944835 = r15944833 - r15944834;
        double r15944836 = 200.0;
        double r15944837 = r15944835 * r15944836;
        return r15944837;
}

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