Average Error: 0.0 → 0.0
Time: 10.7s
Precision: 64
\[200 \cdot \left(x - y\right)\]
\[\left(x - y\right) \cdot 200\]
200 \cdot \left(x - y\right)
\left(x - y\right) \cdot 200
double f(double x, double y) {
        double r12526590 = 200.0;
        double r12526591 = x;
        double r12526592 = y;
        double r12526593 = r12526591 - r12526592;
        double r12526594 = r12526590 * r12526593;
        return r12526594;
}

double f(double x, double y) {
        double r12526595 = x;
        double r12526596 = y;
        double r12526597 = r12526595 - r12526596;
        double r12526598 = 200.0;
        double r12526599 = r12526597 * r12526598;
        return r12526599;
}

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 \left(x - y\right) \cdot 200\]

Reproduce

herbie shell --seed 2019179 +o rules:numerics
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  (* 200.0 (- x y)))