Average Error: 0.0 → 0.0
Time: 4.6s
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 r245332 = x;
        double r245333 = y;
        double r245334 = 500.0;
        double r245335 = r245333 / r245334;
        double r245336 = r245332 + r245335;
        return r245336;
}

double f(double x, double y) {
        double r245337 = y;
        double r245338 = 500.0;
        double r245339 = r245337 / r245338;
        double r245340 = x;
        double r245341 = r245339 + r245340;
        return r245341;
}

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 2019194 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLAB from colour-2.3.3, C"
  (+ x (/ y 500.0)))