Average Error: 0.0 → 0.0
Time: 615.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r32188 = x;
        double r32189 = y;
        double r32190 = r32188 + r32189;
        double r32191 = sqrt(r32190);
        return r32191;
}

double f(double x, double y) {
        double r32192 = x;
        double r32193 = y;
        double r32194 = r32192 + r32193;
        double r32195 = sqrt(r32194);
        return r32195;
}

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