Average Error: 0.0 → 0.0
Time: 846.0ms
Precision: 64
\[\sqrt{x + y}\]
\[\sqrt{x + y}\]
\sqrt{x + y}
\sqrt{x + y}
double f(double x, double y) {
        double r40027 = x;
        double r40028 = y;
        double r40029 = r40027 + r40028;
        double r40030 = sqrt(r40029);
        return r40030;
}

double f(double x, double y) {
        double r40031 = x;
        double r40032 = y;
        double r40033 = r40031 + r40032;
        double r40034 = sqrt(r40033);
        return r40034;
}

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)))