Average Error: 0.0 → 0.0
Time: 633.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r38478 = x;
        double r38479 = y;
        double r38480 = r38478 + r38479;
        double r38481 = sqrt(r38480);
        return r38481;
}

double f(double x, double y) {
        double r38482 = x;
        double r38483 = y;
        double r38484 = r38482 + r38483;
        double r38485 = sqrt(r38484);
        return r38485;
}

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