Average Error: 0.0 → 0.0
Time: 9.2s
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 r15443717 = x;
        double r15443718 = y;
        double r15443719 = 200.0;
        double r15443720 = r15443718 / r15443719;
        double r15443721 = r15443717 - r15443720;
        return r15443721;
}

double f(double x, double y) {
        double r15443722 = x;
        double r15443723 = y;
        double r15443724 = 200.0;
        double r15443725 = r15443723 / r15443724;
        double r15443726 = r15443722 - r15443725;
        return r15443726;
}

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