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 r321665 = 200.0;
        double r321666 = x;
        double r321667 = y;
        double r321668 = r321666 - r321667;
        double r321669 = r321665 * r321668;
        return r321669;
}

double f(double x, double y) {
        double r321670 = 200.0;
        double r321671 = x;
        double r321672 = y;
        double r321673 = r321671 - r321672;
        double r321674 = r321670 * r321673;
        return r321674;
}

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