Average Error: 0.0 → 0.0
Time: 6.1s
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 r231096 = x;
        double r231097 = y;
        double r231098 = 200.0;
        double r231099 = r231097 / r231098;
        double r231100 = r231096 - r231099;
        return r231100;
}

double f(double x, double y) {
        double r231101 = x;
        double r231102 = y;
        double r231103 = 200.0;
        double r231104 = r231102 / r231103;
        double r231105 = r231101 - r231104;
        return r231105;
}

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