Average Error: 0.0 → 0.0
Time: 5.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 r365179 = 200.0;
        double r365180 = x;
        double r365181 = y;
        double r365182 = r365180 - r365181;
        double r365183 = r365179 * r365182;
        return r365183;
}

double f(double x, double y) {
        double r365184 = 200.0;
        double r365185 = x;
        double r365186 = y;
        double r365187 = r365185 - r365186;
        double r365188 = r365184 * r365187;
        return r365188;
}

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