Re: Could someone verify a long Pi calculation in Version 4 for me?

*To*: mathgroup at smc.vnet.net*Subject*: [mg36806] Re: Could someone verify a long Pi calculation in Version 4 for me?*From*: zeno <zeno1234 at mindspring.com>*Date*: Thu, 26 Sep 2002 04:57:11 -0400 (EDT)*References*: <amjvav$g18$1@smc.vnet.net> <ammfi5$lk7$1@smc.vnet.net> <amris4$576$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

So would it take about the same amont of time for the complete printout of digits? Of course it would take a few additional seconds to format the output... Or does Mathematica take alot less time when it truncates the output? In article <amris4$576$1 at smc.vnet.net>, Tom Burton <tburton at brahea.com> wrote: > Hello, > > On 9/23/02 12:19 AM, in article ammfi5$lk7$1 at smc.vnet.net, "zeno" > <zeno1234 at mindspring.com> wrote: > > > Could you tell me the CPU you used and its speed etc...i am curious, > > thanks. It would be interesting to compare Version 4s Pi performance to > > other programs out there. > > I used one processor of a dual 1GH Mac and got the same answer with the > following speed: > > $Version > 4.2 for Mac OS X (June 4, 2002) > oldmax = $MaxPrecision > 6 > 1. 10 > $MaxPrecision = Infinity > Infinity > With[{n = 2^26}, Timing[ > pd = RealDigits[N[Pi, n + 1], 10, 20, > 19 - n]; ]] > {28794.1 Second, Null} > MaxMemoryUsed[] > 512055204 > pd > {{3, 3, 8, 6, 3, 2, 2, 0, 8, 9, 6, 2, 2, 3, > > 4, 0, 9, 8, 0, 3}, -67108844} > > Tom Burton