Average Error: 0.0 → 0.0
Time: 7.3s
Precision: 64
\[\sqrt{x + 1}\]
\[\sqrt{x + 1}\]
\sqrt{x + 1}
\sqrt{x + 1}
double f(double x) {
        double r1595312 = x;
        double r1595313 = 1.0;
        double r1595314 = r1595312 + r1595313;
        double r1595315 = sqrt(r1595314);
        return r1595315;
}

double f(double x) {
        double r1595316 = x;
        double r1595317 = 1.0;
        double r1595318 = r1595316 + r1595317;
        double r1595319 = sqrt(r1595318);
        return r1595319;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\sqrt{x + 1}\]
  2. Final simplification0.0

    \[\leadsto \sqrt{x + 1}\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "sqrt( x + 1)"
  :precision binary64
  (sqrt (+ x 1)))