Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Science Fiction > Science > Re: Pi Day Exer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 23 Topic 3407 of 3638
Post > Topic >>

Re: Pi Day Exercise

by Michael Ash <mike@[EMAIL PROTECTED] > Mar 15, 2008 at 06:50 PM

Luke Campbell <lwcamp@[EMAIL PROTECTED]
> wrote:
> On Mar 15, 12:39 pm, wjtin...@[EMAIL PROTECTED]
 wrote:
>> That's 22 characters, as opposed to six digits. Not very good.
> 
> Yeah, but you get machine accuracy instead of a mere six digit
> accuracy.
> 
>> You also had to load a function library.
> 
> Okay, then how about
> 
>       double precision ... ,pi, ...
>       !<stuff>
>       pi=acos(-1.d0)
>       !<more stuff>
> 
> 17 characters, no extra libraries loaded, and double precision
> accuracy (the double precision declaration statement doesn't count
> against characters used, you're using it anyway for other variables).

This is silly. The winner is clearly had by typing "pi" into the nearest 
Google search box. Nine digits from two characters. And you can even use 
it in calculations:

http://www.google.com/search?q=4+*+pi+*+radius+of+the+earth+%5E2

Google: Replacing Your Brain Since 1998.

-- 
Michael Ash
Rogue Amoeba Software
 




 23 Posts in Topic:
Pi Day Exercise
Jack Tingle <wjtingle@  2008-03-15 09:55:43 
Re: Pi Day Exercise
Luke Campbell <lwcamp@  2008-03-15 08:52:59 
Re: Pi Day Exercise
Ingo Siekmann <Ingo-Si  2008-03-15 22:50:14 
Re: Pi Day Exercise
Howard Brazee <howard@  2008-03-15 16:38:14 
Re: Pi Day Exercise
mcv <mcvmcv@[EMAIL PRO  2008-03-16 19:09:05 
Re: Pi Day Exercise
wjtingle@[EMAIL PROTECTED  2008-03-15 12:39:57 
Re: Pi Day Exercise
Ingo Siekmann <Ingo-Si  2008-03-15 22:55:33 
Re: Pi Day Exercise
Erik Max Francis <max@  2008-03-15 16:22:35 
Re: Pi Day Exercise
Jack Tingle <wjtingle@  2008-03-16 09:13:30 
Re: Pi Day Exercise
mcv <mcvmcv@[EMAIL PRO  2008-03-16 19:17:38 
Re: Pi Day Exercise
Luke Campbell <lwcamp@  2008-03-15 16:30:24 
Re: Pi Day Exercise
Michael Ash <mike@[EMA  2008-03-15 18:50:08 
Re: Pi Day Exercise
"Mike Dworetsky"  2008-03-16 08:10:06 
Re: Pi Day Exercise
"Sheerluck" <  2008-03-16 20:37:59 
Re: Pi Day Exercise
David Mitchell <david@  2008-03-16 18:29:47 
Re: Pi Day Exercise
David Mitchell <david@  2008-03-16 18:32:10 
Re: Pi Day Exercise
Jens Kleimann <yatteri  2008-05-02 11:21:22 
Re: Pi Day Exercise
Dr J R Stockton <jrs@[  2008-03-16 23:15:44 
Re: Pi Day Exercise
Michael Ash <mike@[EMA  2008-03-16 20:42:16 
Re: Pi Day Exercise
Dr J R Stockton <jrs@[  2008-03-17 20:43:28 
Re: Pi Day Exercise
Michael Ash <mike@[EMA  2008-03-17 19:09:08 
Re: Pi Day Exercise
Dr J R Stockton <jrs@[  2008-03-18 20:24:39 
Re: Pi Day Exercise
Michael Ash <mike@[EMA  2008-03-18 22:03:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 13:21:12 CDT 2008.