Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,8 +1,8 @@
|
|||
proc mod_inv a b . x1 .
|
||||
func mod_inv a b .
|
||||
b0 = b
|
||||
x1 = 1
|
||||
if b = 1
|
||||
break 1
|
||||
return 1
|
||||
.
|
||||
while a > 1
|
||||
q = a div b
|
||||
|
|
@ -16,6 +16,6 @@ proc mod_inv a b . x1 .
|
|||
if x1 < 0
|
||||
x1 += b0
|
||||
.
|
||||
return x1
|
||||
.
|
||||
call mod_inv 42 2017 r
|
||||
print r
|
||||
print mod_inv 42 2017
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue