Average Error: 0.0 → 0.0
Time: 11.6s
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 r10841587 = 200.0;
        double r10841588 = x;
        double r10841589 = y;
        double r10841590 = r10841588 - r10841589;
        double r10841591 = r10841587 * r10841590;
        return r10841591;
}

double f(double x, double y) {
        double r10841592 = x;
        double r10841593 = y;
        double r10841594 = r10841592 - r10841593;
        double r10841595 = 200.0;
        double r10841596 = r10841594 * r10841595;
        return r10841596;
}

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