Add a Math.inv function that inverse a number in Z/nZ (#4839)
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
5
.changeset/cool-mangos-compare.md
Normal file
5
.changeset/cool-mangos-compare.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'openzeppelin-solidity': minor
|
||||
---
|
||||
|
||||
`Math`: add an `invMod` function to get the modular multiplicative inverse of a number in Z/nZ.
|
||||
Reference in New Issue
Block a user