Average Error: 0.0 → 0.0
Time: 11.2s
Precision: 64
\[x - \frac{y}{200.0}\]
\[x - \frac{y}{200.0}\]
x - \frac{y}{200.0}
x - \frac{y}{200.0}
double f(double x, double y) {
        double r4827024 = x;
        double r4827025 = y;
        double r4827026 = 200.0;
        double r4827027 = r4827025 / r4827026;
        double r4827028 = r4827024 - r4827027;
        return r4827028;
}

double f(double x, double y) {
        double r4827029 = x;
        double r4827030 = y;
        double r4827031 = 200.0;
        double r4827032 = r4827030 / r4827031;
        double r4827033 = r4827029 - r4827032;
        return r4827033;
}

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.0}\]
  2. Final simplification0.0

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

Reproduce

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