Computing the Square Root of Two
I was dusting off some of my old code for computing pi to many decimal places, and was reminded that I’d never written similar code for computing a more basic value: the square root of two. The usual way to do this would be to use Newton’s iteration to solve x2 – 2 = 0. [...]

Recent Comments