AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

14-03-yyyy --> Laszlo-Day !

 
Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
BoBoł
Guest





PostPosted: Sun Mar 14, 2010 5:57 am    Post subject: 14-03-yyyy --> Laszlo-Day ! Reply with quote

[11.00100100001111110110 ...] ... [ Idea ]
Back to top
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Sun Mar 14, 2010 3:51 pm    Post subject: Reply with quote

http://www.eveandersson.com/pi/digits/1000
_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Sun Mar 14, 2010 5:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Sun Mar 14, 2010 5:04 pm    Post subject: Reply with quote

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.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
BoBoł
Guest





PostPosted: Sun Mar 14, 2010 8:38 pm    Post subject: Reply with quote

Quote:
Nice picture, BoBoł!
TBH, it's the Google Doodle of today (for those who didn't realize it!) Cool
Back to top
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun Mar 14, 2010 9:03 pm    Post subject: Reply with quote

BoBoł wrote:
it's the Google Doodle of today
Looks like it coincided with Mothers Day in the UK Razz
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tidbit



Joined: 09 Mar 2008
Posts: 1807
Location: Minnesota, USA

PostPosted: Mon Mar 15, 2010 2:27 am    Post subject: Reply with quote

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.
Even monkeys fall from trees. - Japanese proverb
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Mon Mar 15, 2010 3:48 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
BoBoł
Guest





PostPosted: Tue Mar 16, 2010 7:54 pm    Post subject: Reply with quote

TBH ?! I love these "weird" math-geeks Razz Humanoid geniuses camouflaged as normal human beings Very Happy
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group