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 r204797 = 200.0;
        double r204798 = x;
        double r204799 = y;
        double r204800 = r204798 - r204799;
        double r204801 = r204797 * r204800;
        return r204801;
}

double f(double x, double y) {
        double r204802 = 200.0;
        double r204803 = x;
        double r204804 = y;
        double r204805 = r204803 - r204804;
        double r204806 = r204802 * r204805;
        return r204806;
}

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