2010/11/5 Arthur Bela <jozsi.avadkan at gmail.com>: > Does anyone has a "generate-pi.c" source code? > > Thanks.. :D :\ int k=4e3,p,a[337],q,t=1e3;main(j){for(;a[j=q=0]+=2,--k;)for(p=1+2*k;j<337;q=a[j]*k+q%p*t,a[j++]=q/p)k!=j>2?:printf("%.3d",a[j-2]%t+q/p/t);} I do not claim any authorship. Loïc