|
![](/i/fill.gif) |
"PM 2Ring" <nomail@nomail> wrote:
> I'll work on converting Dik T. Winter's Pi program into POV SDL this
> weekend. It shouldn't take too long - I'll just modify my e calculator.
> Here's Dik's C source for this algorithm, which can actually do a little
> over 800 digits.
>
> int a=10000,b,c=2800,d,e,f[2801],g;main(){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);}
> Do a Google Groups search on
>
> Dik T. Winter Pi digits
>
> for more info.
Ok, I've now got a working POV version of the above obfuscated C program.
I'll post it tonight. Sorry about the delay, I got distracted... :)
Post a reply to this message
|
![](/i/fill.gif) |