Average Error: 0.0 → 0.0
Time: 7.8s
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 r17403082 = x;
        double r17403083 = y;
        double r17403084 = 200.0;
        double r17403085 = r17403083 / r17403084;
        double r17403086 = r17403082 - r17403085;
        return r17403086;
}

double f(double x, double y) {
        double r17403087 = x;
        double r17403088 = y;
        double r17403089 = 200.0;
        double r17403090 = r17403088 / r17403089;
        double r17403091 = r17403087 - r17403090;
        return r17403091;
}

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