Average Error: 0.0 → 0.0
Time: 2.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 r254048 = 200.0;
        double r254049 = x;
        double r254050 = y;
        double r254051 = r254049 - r254050;
        double r254052 = r254048 * r254051;
        return r254052;
}

double f(double x, double y) {
        double r254053 = 200.0;
        double r254054 = x;
        double r254055 = y;
        double r254056 = r254054 - r254055;
        double r254057 = r254053 * r254056;
        return r254057;
}

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)))