Average Error: 0.0 → 0.0
Time: 5.7s
Precision: 64
\[\sqrt{x + 1}\]
\[\sqrt{x + 1}\]
\sqrt{x + 1}
\sqrt{x + 1}
double f(double x) {
        double r792979 = x;
        double r792980 = 1.0;
        double r792981 = r792979 + r792980;
        double r792982 = sqrt(r792981);
        return r792982;
}

double f(double x) {
        double r792983 = x;
        double r792984 = 1.0;
        double r792985 = r792983 + r792984;
        double r792986 = sqrt(r792985);
        return r792986;
}

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