Average Error: 0.0 → 0.0
Time: 6.5s
Precision: 64
\[\sqrt{e^{x} + 1}\]
\[\sqrt{e^{x} + 1}\]
\sqrt{e^{x} + 1}
\sqrt{e^{x} + 1}
double f(double x) {
        double r1763361 = x;
        double r1763362 = exp(r1763361);
        double r1763363 = 1.0;
        double r1763364 = r1763362 + r1763363;
        double r1763365 = sqrt(r1763364);
        return r1763365;
}

double f(double x) {
        double r1763366 = x;
        double r1763367 = exp(r1763366);
        double r1763368 = 1.0;
        double r1763369 = r1763367 + r1763368;
        double r1763370 = sqrt(r1763369);
        return r1763370;
}

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{e^{x} + 1}\]
  2. Final simplification0.0

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

Reproduce

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