Average Error: 0.0 → 0.0
Time: 11.4s
Precision: 64
Internal Precision: 320
\[\sqrt{x + 1} + \sqrt{x}\]
\[\sqrt{x} + \sqrt{x + 1}\]

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} + \sqrt{x}\]
  2. Initial simplification0.0

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

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

Runtime

Time bar (total: 11.4s)Debug log

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