Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rewording
  • Loading branch information
Amxx committed Jan 17, 2024
commit 4de37d5aba8e96c982b34d1dc7cb73469132912f
2 changes: 1 addition & 1 deletion contracts/utils/math/Math.sol
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ library Math {
* If p is a prime, then we Z/nZ is a field commonly noted Fp. In that case all elements are inversible, expect 0.
* If p is not a prime, then Z/nZ is not a field, and some elements might not be inversible.
*
* When trying to inverse a value that is not invesible, 0 is returned.
* If the input values is not inversible, 0 is returned.
*/
function inv(uint256 a, uint256 p) internal pure returns (uint256) {
uint256 r1 = a % p;
Expand Down