Average Error: 0.0 → 0.0
Time: 609.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r40843 = x;
        double r40844 = y;
        double r40845 = r40843 + r40844;
        double r40846 = sqrt(r40845);
        return r40846;
}

double f(double x, double y) {
        double r40847 = x;
        double r40848 = y;
        double r40849 = r40847 + r40848;
        double r40850 = sqrt(r40849);
        return r40850;
}

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