Average Error: 0.0 → 0.0
Time: 14.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 r17377572 = x;
        double r17377573 = y;
        double r17377574 = 500.0;
        double r17377575 = r17377573 / r17377574;
        double r17377576 = r17377572 + r17377575;
        return r17377576;
}

double f(double x, double y) {
        double r17377577 = y;
        double r17377578 = 500.0;
        double r17377579 = r17377577 / r17377578;
        double r17377580 = x;
        double r17377581 = r17377579 + r17377580;
        return r17377581;
}

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