Please sign in to comment.
stop iterating findZero when two consecutive guesses are equal
Compare this commit with 'e81d05947a05471cb5e3ae01b18adc8a63a7ceb9' Due to lossy arithmetic an iterative approximation sequence might "converge", but its limit is not an "exact" solution to the problem. "Converging" in lossy arithmetic means the sequence becomes constant, so let us test for this.
- Loading branch information...
Showing with 4 additions and 2 deletions.