Average Error: 0.0 → 0.0
Time: 10.9s
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 r165794 = 200.0;
        double r165795 = x;
        double r165796 = y;
        double r165797 = r165795 - r165796;
        double r165798 = r165794 * r165797;
        return r165798;
}

double f(double x, double y) {
        double r165799 = 200.0;
        double r165800 = x;
        double r165801 = y;
        double r165802 = r165800 - r165801;
        double r165803 = r165799 * r165802;
        return r165803;
}

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