Fix typo in a comment (#3747)

pull/3751/head
GitHubPang 2 years ago committed by GitHub
parent 561d1061fc
commit 7201e6707f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/utils/math/Math.t.sol

@ -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;

Loading…
Cancel
Save