Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin From: hrubin@pop.stat.purdue.edu (Herman Rubin) Newsgroups: comp.misc Subject: Re: PI Message-ID: <2814@mentor.cc.purdue.edu> Date: 15 Dec 90 14:24:45 GMT References: <1990Dec12.222135.336@miavx0.ham.muohio.edu> <9554@ncar.ucar.edu> Sender: news@mentor.cc.purdue.edu Distribution: na Lines: 14 In article <9554@ncar.ucar.edu>, gary@ncar.ucar.EDU (Gary Strand) writes: > > "brian" (brpleshek@miavx0.ham.muohio.edu) > > DOES ANYONE HAVE AN ALGORITHEM TO CALCULATE PI TO THE NTH DECIMAL > Unless you've got a Cray and some very sophisticated algorithms, I don't > think you would get past the accuracy of your machine, in a timely fashion. Not so, if you mean the "built-in" accuracy. Getting quite a few thousand digits is no real problem. You do need good integer arithmetic algorithms. -- Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399 Phone: (317)494-6054 hrubin@l.cc.purdue.edu (Internet, bitnet) {purdue,pur-ee}!l.cc!hrubin(UUCP)