Average Error: 0.0 → 0.0
Time: 3.1s
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 r1198 = 200.0;
        double r1199 = x;
        double r1200 = y;
        double r1201 = r1199 - r1200;
        double r1202 = r1198 * r1201;
        return r1202;
}

double f(double x, double y) {
        double r1203 = 200.0;
        double r1204 = x;
        double r1205 = y;
        double r1206 = r1204 - r1205;
        double r1207 = r1203 * r1206;
        return r1207;
}

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