Average Error: 0.0 → 0.0
Time: 1.6s
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 r270537 = 200.0;
        double r270538 = x;
        double r270539 = y;
        double r270540 = r270538 - r270539;
        double r270541 = r270537 * r270540;
        return r270541;
}

double f(double x, double y) {
        double r270542 = 200.0;
        double r270543 = x;
        double r270544 = y;
        double r270545 = r270543 - r270544;
        double r270546 = r270542 * r270545;
        return r270546;
}

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