Average Error: 0.0 → 0.0
Time: 6.5s
Precision: 64
\[200 \cdot \left(x - y\right)\]
\[200 \cdot \left(x - y\right)\]
200 \cdot \left(x - y\right)
200 \cdot \left(x - y\right)
double f(double x, double y) {
        double r343237 = 200.0;
        double r343238 = x;
        double r343239 = y;
        double r343240 = r343238 - r343239;
        double r343241 = r343237 * r343240;
        return r343241;
}

double f(double x, double y) {
        double r343242 = 200.0;
        double r343243 = x;
        double r343244 = y;
        double r343245 = r343243 - r343244;
        double r343246 = r343242 * r343245;
        return r343246;
}

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 200 \cdot \left(x - y\right)\]

Reproduce

herbie shell --seed 2020046 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  :precision binary64
  (* 200 (- x y)))