Average Error: 0.0 → 0.0
Time: 1.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 r250434 = 200.0;
        double r250435 = x;
        double r250436 = y;
        double r250437 = r250435 - r250436;
        double r250438 = r250434 * r250437;
        return r250438;
}

double f(double x, double y) {
        double r250439 = 200.0;
        double r250440 = x;
        double r250441 = y;
        double r250442 = r250440 - r250441;
        double r250443 = r250439 * r250442;
        return r250443;
}

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