Average Error: 0.0 → 0.0
Time: 49.4s
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 r15131012 = 200.0;
        double r15131013 = x;
        double r15131014 = y;
        double r15131015 = r15131013 - r15131014;
        double r15131016 = r15131012 * r15131015;
        return r15131016;
}

double f(double x, double y) {
        double r15131017 = x;
        double r15131018 = y;
        double r15131019 = r15131017 - r15131018;
        double r15131020 = 200.0;
        double r15131021 = r15131019 * r15131020;
        return r15131021;
}

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