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 r306812 = 200.0;
        double r306813 = x;
        double r306814 = y;
        double r306815 = r306813 - r306814;
        double r306816 = r306812 * r306815;
        return r306816;
}

double f(double x, double y) {
        double r306817 = 200.0;
        double r306818 = x;
        double r306819 = y;
        double r306820 = r306818 - r306819;
        double r306821 = r306817 * r306820;
        return r306821;
}

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