Average Error: 0 → 0
Time: 655.0ms
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 r194633 = x;
        double r194634 = y;
        double r194635 = r194633 + r194634;
        double r194636 = 2.0;
        double r194637 = r194635 / r194636;
        return r194637;
}

double f(double x, double y) {
        double r194638 = x;
        double r194639 = y;
        double r194640 = r194638 + r194639;
        double r194641 = 2.0;
        double r194642 = r194640 / r194641;
        return r194642;
}

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 1978988140 
(FPCore (x y)
  :name "Data.Colour.RGB:hslsv from colour-2.3.3, A"
  :precision binary64
  (/ (+ x y) 2))