Average Error: 0.0 → 0.0
Time: 3.4s
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 r12921707 = x;
        double r12921708 = y;
        double r12921709 = 500.0;
        double r12921710 = r12921708 / r12921709;
        double r12921711 = r12921707 + r12921710;
        return r12921711;
}

double f(double x, double y) {
        double r12921712 = y;
        double r12921713 = 500.0;
        double r12921714 = r12921712 / r12921713;
        double r12921715 = x;
        double r12921716 = r12921714 + r12921715;
        return r12921716;
}

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