Gauss–Legendre algorithm: Difference between revisions

Content deleted Content added
No edit summary
Tag: possible test edits
m Reverted edits by 117.96.230.221 to last revision by Michael Hardy (HG)
Line 1:
The '''Gauss–Legendre algorithm''' is an [[algorithm]] to compute the digits of [[Pi|&pi;]]. It is notable for being rapidly convergent, with only 25 iterations producing 45 million correct digits of &pi;. However, the drawback is that it is memory intensive and it is therefore sometimes not used over [[Machin-like formulas]].<small>Small Text</small>
 
The method is based on the individual work of [[Carl Friedrich Gauss]] (1777–1855) and [[Adrien-Marie Legendre]] (1752–1833) combined with modern algorithms for multiplication and [[square root]]s. It repeatedly replaces two numbers by their [[arithmetic mean|arithmetic]] and [[geometric mean]], in order to approximate their [[arithmetic-geometric mean]].