Average Error: 0.0 → 0.0
Time: 7.9s
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 r10730484 = x;
        double r10730485 = y;
        double r10730486 = 200.0;
        double r10730487 = r10730485 / r10730486;
        double r10730488 = r10730484 - r10730487;
        return r10730488;
}

double f(double x, double y) {
        double r10730489 = x;
        double r10730490 = y;
        double r10730491 = 200.0;
        double r10730492 = r10730490 / r10730491;
        double r10730493 = r10730489 - r10730492;
        return r10730493;
}

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