Fix typo in a comment (#3747)

This commit is contained in:
GitHubPang
2022-10-03 16:06:44 +08:00
committed by GitHub
parent 561d1061fc
commit 7201e6707f

View File

@ -154,7 +154,7 @@ contract MathTest is Test {
// Full precision for q * d
(uint256 qdHi, uint256 qdLo) = _mulHighLow(q, d);
// Add reminder of x * y / d (computed as rem = (x * y % d))
// Add remainder of x * y / d (computed as rem = (x * y % d))
(uint256 qdRemLo, uint256 c) = _addCarry(qdLo, _mulmod(x, y, d));
uint256 qdRemHi = qdHi + c;