Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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