Average Error: 0 → 0
Time: 822.0ms
Precision: 64
\[\frac{x + y}{2}\]
\[\frac{y + x}{2}\]
\frac{x + y}{2}
\frac{y + x}{2}
double f(double x, double y) {
        double r11982227 = x;
        double r11982228 = y;
        double r11982229 = r11982227 + r11982228;
        double r11982230 = 2.0;
        double r11982231 = r11982229 / r11982230;
        return r11982231;
}

double f(double x, double y) {
        double r11982232 = y;
        double r11982233 = x;
        double r11982234 = r11982232 + r11982233;
        double r11982235 = 2.0;
        double r11982236 = r11982234 / r11982235;
        return r11982236;
}

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

    \[\frac{x + y}{2}\]
  2. Final simplification0

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

Reproduce

herbie shell --seed 2019192 
(FPCore (x y)
  :name "Data.Colour.RGB:hslsv from colour-2.3.3, A"
  (/ (+ x y) 2.0))