Average Error: 0.0 → 0.0
Time: 13.5s
Precision: 64
\[x + \frac{y}{500.0}\]
\[\frac{y}{500.0} + x\]
x + \frac{y}{500.0}
\frac{y}{500.0} + x
double f(double x, double y) {
        double r13981963 = x;
        double r13981964 = y;
        double r13981965 = 500.0;
        double r13981966 = r13981964 / r13981965;
        double r13981967 = r13981963 + r13981966;
        return r13981967;
}

double f(double x, double y) {
        double r13981968 = y;
        double r13981969 = 500.0;
        double r13981970 = r13981968 / r13981969;
        double r13981971 = x;
        double r13981972 = r13981970 + r13981971;
        return r13981972;
}

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

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

Reproduce

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