Average Error: 0.0 → 0.0
Time: 33.9s
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 r32977003 = x;
        double r32977004 = y;
        double r32977005 = 200.0;
        double r32977006 = r32977004 / r32977005;
        double r32977007 = r32977003 - r32977006;
        return r32977007;
}

double f(double x, double y) {
        double r32977008 = x;
        double r32977009 = y;
        double r32977010 = 200.0;
        double r32977011 = r32977009 / r32977010;
        double r32977012 = r32977008 - r32977011;
        return r32977012;
}

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