Average Error: 0.0 → 0.0
Time: 3.2s
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 r12480142 = x;
        double r12480143 = y;
        double r12480144 = 200.0;
        double r12480145 = r12480143 / r12480144;
        double r12480146 = r12480142 - r12480145;
        return r12480146;
}

double f(double x, double y) {
        double r12480147 = x;
        double r12480148 = y;
        double r12480149 = 200.0;
        double r12480150 = r12480148 / r12480149;
        double r12480151 = r12480147 - r12480150;
        return r12480151;
}

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