Average Error: 0.0 → 0.0
Time: 1.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 r312156 = 200.0;
        double r312157 = x;
        double r312158 = y;
        double r312159 = r312157 - r312158;
        double r312160 = r312156 * r312159;
        return r312160;
}

double f(double x, double y) {
        double r312161 = 200.0;
        double r312162 = x;
        double r312163 = y;
        double r312164 = r312162 - r312163;
        double r312165 = r312161 * r312164;
        return r312165;
}

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