Average Error: 0.0 → 0.0
Time: 1.7s
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 r212741 = 200.0;
        double r212742 = x;
        double r212743 = y;
        double r212744 = r212742 - r212743;
        double r212745 = r212741 * r212744;
        return r212745;
}

double f(double x, double y) {
        double r212746 = 200.0;
        double r212747 = x;
        double r212748 = y;
        double r212749 = r212747 - r212748;
        double r212750 = r212746 * r212749;
        return r212750;
}

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