Average Error: 0.0 → 0.0
Time: 1.4s
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 r229650 = 200.0;
        double r229651 = x;
        double r229652 = y;
        double r229653 = r229651 - r229652;
        double r229654 = r229650 * r229653;
        return r229654;
}

double f(double x, double y) {
        double r229655 = 200.0;
        double r229656 = x;
        double r229657 = y;
        double r229658 = r229656 - r229657;
        double r229659 = r229655 * r229658;
        return r229659;
}

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