Average Error: 0.0 → 0.0
Time: 7.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 r10491494 = x;
        double r10491495 = y;
        double r10491496 = 200.0;
        double r10491497 = r10491495 / r10491496;
        double r10491498 = r10491494 - r10491497;
        return r10491498;
}

double f(double x, double y) {
        double r10491499 = x;
        double r10491500 = y;
        double r10491501 = 200.0;
        double r10491502 = r10491500 / r10491501;
        double r10491503 = r10491499 - r10491502;
        return r10491503;
}

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