AutoHotkey Community

It is currently May 27th, 2012, 5:38 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: March 14th, 2010, 6:57 am 
[11.00100100001111110110 ...] ... [ :idea: ]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 4:51 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
http://www.eveandersson.com/pi/digits/1000

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 6:00 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
Nice picture, BoBo³!

Tidbit: you can use the AHK function PI posted here to compute 900 million digits of PI. It just takes a little time. 1000 digits will be printed faster than the web page loads.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 6:04 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
nice.
i was going to post the link to 1,000,000 + digits of pi, but decided to go with 1,000.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 9:38 pm 
Quote:
Nice picture, BoBo³!
TBH, it's the Google Doodle of today (for those who didn't realize it!) 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 14th, 2010, 10:03 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
BoBo³ wrote:
it's the Google Doodle of today
Looks like it coincided with Mothers Day in the UK :P

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 15th, 2010, 3:27 am 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
dang!
i wanted to generate 10,000,000 digits of of Pi with Laszlos functions above, but it takes forever on my machine!
I left my pc on for a few hours while I went out and it's wasn't done when I got back. i then waited another hour before terminating it.

1,000 = instant
10,000 = 1.6 seconds
100,000+ = takes to long, didn't want to wait.

ps: Laszlo: my name is all lowercase for these reasons: this and this.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 15th, 2010, 4:48 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
tidbit wrote:
my name is all lowercase
I know. It just looks weird in the beginning of a sentence. I'll try to remember to address you as TidbiT the next time. I am terribly sorry :wink:

The running time is proportional to the second power of the requested length. That is, for 10 times more bits you have to wait 100 times longer, or more. When your PC runs out of of memory, it starts to swap data to disk, and the computation would take forever.

In my 2.66GHz core i7 PC, with 6GB RAM I got the following running times (ms):
Code:
T      n
0      100
31     316
47     1,000
203    3,162
1029   10,000
9235   3,1623
95644  100,000
997002 316,228  (16.6 minutes)
1 million digits of pi could be computed under 3 hours (if the memory was enough - I have not checked). Note that this SW was optimized for code size and complexity, with keeping the computation speed reasonable. With more complicated code you could easily achieve 10 fold speedup at computing 1 million digits of pi. Also, only one of the 4 CPU cores are used in the computations, so another factor of 4 acceleration is possible.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 16th, 2010, 8:54 pm 
TBH ?! I love these "weird" math-geeks :P Humanoid geniuses camouflaged as normal human beings :D


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group