Average Error: 0.0 → 0.0
Time: 15.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 r14854050 = x;
        double r14854051 = y;
        double r14854052 = 500.0;
        double r14854053 = r14854051 / r14854052;
        double r14854054 = r14854050 + r14854053;
        return r14854054;
}

double f(double x, double y) {
        double r14854055 = y;
        double r14854056 = 500.0;
        double r14854057 = r14854055 / r14854056;
        double r14854058 = x;
        double r14854059 = r14854057 + r14854058;
        return r14854059;
}

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