Average Error: 0.0 → 0.0
Time: 13.6s
Precision: 64
\[x - \frac{y}{200}\]
\[x - \frac{y}{200}\]
x - \frac{y}{200}
x - \frac{y}{200}
double f(double x, double y) {
        double r13400656 = x;
        double r13400657 = y;
        double r13400658 = 200.0;
        double r13400659 = r13400657 / r13400658;
        double r13400660 = r13400656 - r13400659;
        return r13400660;
}

double f(double x, double y) {
        double r13400661 = x;
        double r13400662 = y;
        double r13400663 = 200.0;
        double r13400664 = r13400662 / r13400663;
        double r13400665 = r13400661 - r13400664;
        return r13400665;
}

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

    \[x - \frac{y}{200}\]
  2. Final simplification0.0

    \[\leadsto x - \frac{y}{200}\]

Reproduce

herbie shell --seed 2019170 +o rules:numerics
(FPCore (x y)
  :name "Data.Colour.CIE:cieLAB from colour-2.3.3, D"
  (- x (/ y 200.0)))