Average Error: 0.0 → 0.0
Time: 1.3s
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 r305123 = 200.0;
        double r305124 = x;
        double r305125 = y;
        double r305126 = r305124 - r305125;
        double r305127 = r305123 * r305126;
        return r305127;
}

double f(double x, double y) {
        double r305128 = 200.0;
        double r305129 = x;
        double r305130 = y;
        double r305131 = r305129 - r305130;
        double r305132 = r305128 * r305131;
        return r305132;
}

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