Average Error: 0.0 → 0.0
Time: 7.4s
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 r8738622 = x;
        double r8738623 = y;
        double r8738624 = 200.0;
        double r8738625 = r8738623 / r8738624;
        double r8738626 = r8738622 - r8738625;
        return r8738626;
}

double f(double x, double y) {
        double r8738627 = x;
        double r8738628 = y;
        double r8738629 = 200.0;
        double r8738630 = r8738628 / r8738629;
        double r8738631 = r8738627 - r8738630;
        return r8738631;
}

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)))