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

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{\left(1 - i\right) + x}{x - i}}\]
  3. Final simplification0.0

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

Runtime

Time bar (total: 25.2s)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))))