Archive for date: March 27, 2009

Computing the Square Root of Two

March 27, 2009 | General | By: Mark VandeWettering

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. […]

Share Button