Average Error: 0.0 → 0.0
Time: 26.3s
Precision: 64
Internal Precision: 576
\[\sqrt{\frac{\left(x + 1\right) - i}{x + i}}\]
\[\sqrt{\frac{x - \left(i - 1\right)}{i + x}}\]

Error

Bits error versus x

Bits error versus i

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\sqrt{\frac{\left(x + 1\right) - i}{x + i}}\]
  2. Initial simplification0.0

    \[\leadsto \sqrt{\frac{x - \left(i - 1\right)}{i + x}}\]
  3. Final simplification0.0

    \[\leadsto \sqrt{\frac{x - \left(i - 1\right)}{i + x}}\]

Runtime

Time bar (total: 26.3s)Debug log

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