Average Error: 0.0 → 0.0
Time: 753.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r39520 = x;
        double r39521 = y;
        double r39522 = r39520 + r39521;
        double r39523 = sqrt(r39522);
        return r39523;
}

double f(double x, double y) {
        double r39524 = x;
        double r39525 = y;
        double r39526 = r39524 + r39525;
        double r39527 = sqrt(r39526);
        return r39527;
}

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 2020062 
(FPCore (x y)
  :name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, A"
  :precision binary64
  (sqrt (+ x y)))