Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Variable-size-Set/Ursala/variable-size-set.ursala
Normal file
11
Task/Variable-size-Set/Ursala/variable-size-set.ursala
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
p = mpfr..pi 200 # 200 bits of precision
|
||||
|
||||
x = mpfr..grow(1.0E+0,1000) # 160 default precision, grown to 1160
|
||||
|
||||
y = mpfr..shrink(1.0+0,40) # 160 default shrunk to 120
|
||||
|
||||
z = mpfr..add(p,y) # inherits 200 bits of precision
|
||||
|
||||
a = # 180 bits (not the default 160) because of more digits in the constant
|
||||
|
||||
1.00000000000000000000000000000000000000000000000000000E0
|
||||
Loading…
Add table
Add a link
Reference in a new issue