Average Error: 0.0 → 0.0
Time: 6.2s
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 r330361 = 200.0;
        double r330362 = x;
        double r330363 = y;
        double r330364 = r330362 - r330363;
        double r330365 = r330361 * r330364;
        return r330365;
}

double f(double x, double y) {
        double r330366 = 200.0;
        double r330367 = x;
        double r330368 = y;
        double r330369 = r330367 - r330368;
        double r330370 = r330366 * r330369;
        return r330370;
}

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