Average Error: 0.0 → 0.0
Time: 2.0s
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 r304315 = 200.0;
        double r304316 = x;
        double r304317 = y;
        double r304318 = r304316 - r304317;
        double r304319 = r304315 * r304318;
        return r304319;
}

double f(double x, double y) {
        double r304320 = 200.0;
        double r304321 = x;
        double r304322 = y;
        double r304323 = r304321 - r304322;
        double r304324 = r304320 * r304323;
        return r304324;
}

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