Average Error: 0.0 → 0.0
Time: 1.9s
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 r12700378 = x;
        double r12700379 = y;
        double r12700380 = 200.0;
        double r12700381 = r12700379 / r12700380;
        double r12700382 = r12700378 - r12700381;
        return r12700382;
}

double f(double x, double y) {
        double r12700383 = x;
        double r12700384 = y;
        double r12700385 = 200.0;
        double r12700386 = r12700384 / r12700385;
        double r12700387 = r12700383 - r12700386;
        return r12700387;
}

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