Code for the Brent-Salamin Pi algorithm?

*To*: mathgroup at smc.vnet.net*Subject*: [mg13131] Code for the Brent-Salamin Pi algorithm?*From*: zeno at magicnet.net*Date*: Tue, 7 Jul 1998 03:44:34 -0400*Organization*: MagicNet, Inc.*Sender*: owner-wri-mathgroup at wolfram.com

This is the 'iterative' algorithm used to compute Pi to the very high number of decimal places today. Is the code for it anywhere? version 2.2 or 3.0 is fine.