Average Error: 0.0 → 0.0
Time: 2.0s
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 r277848 = 200.0;
        double r277849 = x;
        double r277850 = y;
        double r277851 = r277849 - r277850;
        double r277852 = r277848 * r277851;
        return r277852;
}

double f(double x, double y) {
        double r277853 = 200.0;
        double r277854 = x;
        double r277855 = y;
        double r277856 = r277854 - r277855;
        double r277857 = r277853 * r277856;
        return r277857;
}

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