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


|