Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36813] Re: Could someone verify a long Pi calculation in Version 4 for me?
  • From: Tom Burton <tburton at brahea.com>
  • Date: Fri, 27 Sep 2002 04:15:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Much longer. At least 10 times as long. Not sure because I quit. As I read
Bobby Treat's response, one of my processors had been laboring for more than
three days to generate all the digits. (I had not considered to display or
print all of them. Why on Earth would I want to do that?) So I started over,
asking RealDigits to skip most of the digits.

Tom Burton

On 9/26/02 2:07 AM, in article amuj0m$ce5$1 at smc.vnet.net, "zeno"
<zeno1234 at mindspring.com> wrote:

> 
> 
> 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
> 



  • Prev by Date: Are configuration & UI better in 4.2?
  • Next by Date: Mathematica 4.1 Config:Fonts
  • Previous by thread: Re: Could someone verify a long Pi calculation in Version 4 for me?
  • Next by thread: RE: Re: Could someone verify a long Pi calculation in Version 4 for me?