[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] algorithm to calculate pi



On Sun, Jun 25, 2000 at 04:37:34PM -0700, Perl lover wrote:
> int main(int argc, char* argv[]) {
>      for (;b-c;)f[b++]=a/5;
>      for (;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)
>      for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);
>      return 0;
> }

Why is "fast" always associated with "smashed together"?  This code
makes my eyes bleed.  What is this, Python?  WHITESPACE DOES NOT COST MONEY!

ARGH!

Sorry, please continue. ;)

-- 

Michael G Schwern      http://www.pobox.com/~schwern/	   schwern@pobox.com
I'm successful because I'm lucky.   The harder I work, the luckier I get.

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe