Average Error: 0.0 → 0.0
Time: 6.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 r12118119 = x;
        double r12118120 = y;
        double r12118121 = 200.0;
        double r12118122 = r12118120 / r12118121;
        double r12118123 = r12118119 - r12118122;
        return r12118123;
}

double f(double x, double y) {
        double r12118124 = x;
        double r12118125 = y;
        double r12118126 = 200.0;
        double r12118127 = r12118125 / r12118126;
        double r12118128 = r12118124 - r12118127;
        return r12118128;
}

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