home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!hri.com!ukma!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!sunic!kth.se!vand!TORDM
- From: tordm@vand (Tord G.M. Malmgren)
- Newsgroups: sci.math
- Subject: Re: Looking for fast methods of computing PI
- Message-ID: <1992Oct16.211904.5817@kth.se>
- Date: 16 Oct 92 21:19:04 GMT
- References: <1992Oct13.025820.4593@eecs.nwu.edu> <-g1zrgc@rpi.edu> <1992Oct16.111222.4303@CSD-NewsHost.Stanford.EDU>,<1992Oct16.145024.14509@infodev.cam.ac.uk>
- Sender: usenet@kth.se (Usenet)
- Reply-To: TordM@VanA.PhySto.SE
- Organization: Department of Physics, University of Stockholm -- Sweden
- Lines: 31
- Nntp-Posting-Host: vand.physto.se
-
- In article <1992Oct16.145024.14509@infodev.cam.ac.uk>, cet1@cus.cam.ac.uk (C.E. Thompson) writes:
-
- >|> Stoermer, 1896 3.168 Gregory(8, 57, 239)
- >|> Here Gregory(a1,a2,...,an) is the formula pi/4 = a linear integer
- >|> combination of the arctan(1/ai)'s, e.g. pi/4 = 6 arctan(1/8) + 2
- >|> arctan(1/57) + 4 arctan(1/239). Note that both Sharp's and Stoermer's
- >|> "improvements" weren't, showing what happens when you don't do an
- >|> explicit complexity analysis.
-
- >One would also like to know: are there Gregory(a1,...,an) methods with
- >arbitrarily high bits/op? If not, are there any better than Machin's?
-
- there are arbitrarily high bits/op. There's a good article about this
- by George Miel "An Algorithm for The Calculation of \pi" in some October
- 1979 issue of, I think, this Monthly(?), but I'm not certain of that. As
- for a better version you could use
-
- \pi/4=12arctan(1/18)+8arctan(1/57)-5arctan(1/239)
-
- what you do is pick your 1/18, and then the rest is given by itself,
- so just pick 1/128, and you'll have the rest, but you'll need a puter
- that can deal with real good precision...
-
-
-
-
- ---------------+--------------------------------
- Tord Malmgren | InterNet: TordM@VanA.PhySto.SE | These opinions are my OWN,
- | BITNet : TordM@SESUF51 | and NOT of this department!
- ---------------+--------------------------------
- Department of Physics, University of Stockholm
-