Average Error: 0.0 → 0.0
Time: 2.3s
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 r240552 = 200.0;
        double r240553 = x;
        double r240554 = y;
        double r240555 = r240553 - r240554;
        double r240556 = r240552 * r240555;
        return r240556;
}

double f(double x, double y) {
        double r240557 = 200.0;
        double r240558 = x;
        double r240559 = y;
        double r240560 = r240558 - r240559;
        double r240561 = r240557 * r240560;
        return r240561;
}

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