Average Error: 0.0 → 0.0
Time: 6.8s
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 r161013 = x;
        double r161014 = y;
        double r161015 = 200.0;
        double r161016 = r161014 / r161015;
        double r161017 = r161013 - r161016;
        return r161017;
}

double f(double x, double y) {
        double r161018 = x;
        double r161019 = y;
        double r161020 = 200.0;
        double r161021 = r161019 / r161020;
        double r161022 = r161018 - r161021;
        return r161022;
}

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