Average Error: 0.0 → 0.0
Time: 766.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r38303 = x;
        double r38304 = y;
        double r38305 = r38303 + r38304;
        double r38306 = sqrt(r38305);
        return r38306;
}

double f(double x, double y) {
        double r38307 = x;
        double r38308 = y;
        double r38309 = r38307 + r38308;
        double r38310 = sqrt(r38309);
        return r38310;
}

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