Average Error: 0.0 → 0.0
Time: 16.6s
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 r9743659 = x;
        double r9743660 = y;
        double r9743661 = 200.0;
        double r9743662 = r9743660 / r9743661;
        double r9743663 = r9743659 - r9743662;
        return r9743663;
}

double f(double x, double y) {
        double r9743664 = x;
        double r9743665 = y;
        double r9743666 = 200.0;
        double r9743667 = r9743665 / r9743666;
        double r9743668 = r9743664 - r9743667;
        return r9743668;
}

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