Average Error: 0.0 → 0.0
Time: 10.9s
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 r9508746 = x;
        double r9508747 = y;
        double r9508748 = 200.0;
        double r9508749 = r9508747 / r9508748;
        double r9508750 = r9508746 - r9508749;
        return r9508750;
}

double f(double x, double y) {
        double r9508751 = x;
        double r9508752 = y;
        double r9508753 = 200.0;
        double r9508754 = r9508752 / r9508753;
        double r9508755 = r9508751 - r9508754;
        return r9508755;
}

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