Average Error: 0.0 → 0.0
Time: 8.1s
Precision: 64
\[x + \sqrt{x}\]
\[x + \sqrt{x}\]
x + \sqrt{x}
x + \sqrt{x}
double f(double x) {
        double r1626439 = x;
        double r1626440 = sqrt(r1626439);
        double r1626441 = r1626439 + r1626440;
        return r1626441;
}

double f(double x) {
        double r1626442 = x;
        double r1626443 = sqrt(r1626442);
        double r1626444 = r1626442 + r1626443;
        return r1626444;
}

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

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

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

Reproduce

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