Average Error: 0 → 0
Time: 1.8s
Precision: 64
\[\frac{x + y}{2}\]
\[\frac{x + y}{2}\]
\frac{x + y}{2}
\frac{x + y}{2}
double f(double x, double y) {
        double r12800783 = x;
        double r12800784 = y;
        double r12800785 = r12800783 + r12800784;
        double r12800786 = 2.0;
        double r12800787 = r12800785 / r12800786;
        return r12800787;
}

double f(double x, double y) {
        double r12800788 = x;
        double r12800789 = y;
        double r12800790 = r12800788 + r12800789;
        double r12800791 = 2.0;
        double r12800792 = r12800790 / r12800791;
        return r12800792;
}

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{x + y}{2}\]

Reproduce

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