Average Error: 0.0 → 0.0
Time: 5.8s
Precision: 64
\[x + \frac{y}{500}\]
\[\frac{y}{500} + x\]
x + \frac{y}{500}
\frac{y}{500} + x
double f(double x, double y) {
        double r223230 = x;
        double r223231 = y;
        double r223232 = 500.0;
        double r223233 = r223231 / r223232;
        double r223234 = r223230 + r223233;
        return r223234;
}

double f(double x, double y) {
        double r223235 = y;
        double r223236 = 500.0;
        double r223237 = r223235 / r223236;
        double r223238 = x;
        double r223239 = r223237 + r223238;
        return r223239;
}

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}{500}\]
  2. Final simplification0.0

    \[\leadsto \frac{y}{500} + x\]

Reproduce

herbie shell --seed 2019179 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLAB from colour-2.3.3, C"
  (+ x (/ y 500.0)))