Average Error: 0.0 → 0.0
Time: 573.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r61218 = x;
        double r61219 = y;
        double r61220 = r61218 + r61219;
        double r61221 = sqrt(r61220);
        return r61221;
}

double f(double x, double y) {
        double r61222 = x;
        double r61223 = y;
        double r61224 = r61222 + r61223;
        double r61225 = sqrt(r61224);
        return r61225;
}

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

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

    \[\leadsto \sqrt{x + y}\]

Reproduce

herbie shell --seed 2020042 
(FPCore (x y)
  :name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, A"
  :precision binary64
  (sqrt (+ x y)))