Average Error: 0.0 → 0.0
Time: 9.7s
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 r11285665 = x;
        double r11285666 = y;
        double r11285667 = 500.0;
        double r11285668 = r11285666 / r11285667;
        double r11285669 = r11285665 + r11285668;
        return r11285669;
}

double f(double x, double y) {
        double r11285670 = y;
        double r11285671 = 500.0;
        double r11285672 = r11285670 / r11285671;
        double r11285673 = x;
        double r11285674 = r11285672 + r11285673;
        return r11285674;
}

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