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 r294219 = 200.0;
        double r294220 = x;
        double r294221 = y;
        double r294222 = r294220 - r294221;
        double r294223 = r294219 * r294222;
        return r294223;
}

double f(double x, double y) {
        double r294224 = 200.0;
        double r294225 = x;
        double r294226 = y;
        double r294227 = r294225 - r294226;
        double r294228 = r294224 * r294227;
        return r294228;
}

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