Fix typographical errors (#5171)

This commit is contained in:
Hadrien Croubois
2024-08-29 21:41:30 +02:00
committed by GitHub
parent 48c67c7de0
commit 3547cdce21
5 changed files with 13 additions and 11 deletions

View File

@ -232,7 +232,7 @@ library Math {
/**
* @dev Calculate the modular multiplicative inverse of a number in Z/nZ.
*
* If n is a prime, then Z/nZ is a field. In that case all elements are inversible, expect 0.
* If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.
* If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.
*
* If the input value is not inversible, 0 is returned.