Average Error: 0.0 → 0.0
Time: 8.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 r141198 = 200.0;
        double r141199 = x;
        double r141200 = y;
        double r141201 = r141199 - r141200;
        double r141202 = r141198 * r141201;
        return r141202;
}

double f(double x, double y) {
        double r141203 = 200.0;
        double r141204 = x;
        double r141205 = y;
        double r141206 = r141204 - r141205;
        double r141207 = r141203 * r141206;
        return r141207;
}

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