Average Error: 0.0 → 0.0
Time: 8.1s
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 r299760 = 200.0;
        double r299761 = x;
        double r299762 = y;
        double r299763 = r299761 - r299762;
        double r299764 = r299760 * r299763;
        return r299764;
}

double f(double x, double y) {
        double r299765 = 200.0;
        double r299766 = x;
        double r299767 = y;
        double r299768 = r299766 - r299767;
        double r299769 = r299765 * r299768;
        return r299769;
}

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