Average Error: 0.0 → 0.0
Time: 29.4s
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 r13375703 = x;
        double r13375704 = y;
        double r13375705 = 500.0;
        double r13375706 = r13375704 / r13375705;
        double r13375707 = r13375703 + r13375706;
        return r13375707;
}

double f(double x, double y) {
        double r13375708 = y;
        double r13375709 = 500.0;
        double r13375710 = r13375708 / r13375709;
        double r13375711 = x;
        double r13375712 = r13375710 + r13375711;
        return r13375712;
}

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