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 r223604 = 200.0;
        double r223605 = x;
        double r223606 = y;
        double r223607 = r223605 - r223606;
        double r223608 = r223604 * r223607;
        return r223608;
}

double f(double x, double y) {
        double r223609 = 200.0;
        double r223610 = x;
        double r223611 = y;
        double r223612 = r223610 - r223611;
        double r223613 = r223609 * r223612;
        return r223613;
}

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