Average Error: 0.0 → 0.0
Time: 2.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 r187012 = x;
        double r187013 = y;
        double r187014 = 200.0;
        double r187015 = r187013 / r187014;
        double r187016 = r187012 - r187015;
        return r187016;
}

double f(double x, double y) {
        double r187017 = x;
        double r187018 = y;
        double r187019 = 200.0;
        double r187020 = r187018 / r187019;
        double r187021 = r187017 - r187020;
        return r187021;
}

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 2019196 +o rules:numerics
(FPCore (x y)
  :name "Data.Colour.CIE:cieLAB from colour-2.3.3, D"
  (- x (/ y 200.0)))