This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
main
RosettaCodeData
/
Task
/
Modular-inverse
/
Wren
/
modular-inverse.wren
6 lines
101 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Data update
2024-03-06 22:25:12 -08:00
import "./big" for BigInt
Initial data commit
2023-07-01 11:58:00 -04:00
var a = BigInt.new(42)
var b = BigInt.new(2017)
System.print(a.modInv(b))
Reference in a new issue
Copy permalink