Average Error: 0.3 → 0.0
Time: 26.2s
Precision: 64
Internal Precision: 320
\[\left(\left(\sqrt{x + 1} + \sqrt{x}\right) + \sqrt{x + 1}\right) - \sqrt{x}\]
\[\sqrt{1 + x} + \sqrt{1 + x}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\left(\left(\sqrt{x + 1} + \sqrt{x}\right) + \sqrt{x + 1}\right) - \sqrt{x}\]
  2. Applied simplify0.0

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

Runtime

Time bar (total: 26.2s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "sqrt(x+1)+sqrt(x)+sqrt(x+1)-sqrt(x)"
  (- (+ (+ (sqrt (+ x 1)) (sqrt x)) (sqrt (+ x 1))) (sqrt x)))