Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Pi/PARI-GP/pi.parigp
Normal file
11
Task/Pi/PARI-GP/pi.parigp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
pi()={
|
||||
my(x=Pi,n=0,t);
|
||||
print1("3.");
|
||||
while(1,
|
||||
if(n>=default(realprecision),
|
||||
default(realprecision,default(realprecision)*2);
|
||||
x=Pi
|
||||
);
|
||||
print1(floor(x*10^n++)%10)
|
||||
)
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue