Skip to content

Commit 2bacc8f

Browse files
committed
Typo
1 parent aa5b92d commit 2bacc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/512Math.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,8 +1696,8 @@ library Lib512MathArithmetic {
16961696
/// 512Math. This approach is inspired by
16971697
/// https://github.com/SimonSuckut/Solidity_Uint512/
16981698

1699-
// Normalize `x` so the top limb has its MSB in bit 255 or 254.
1700-
// x ≥ 2²⁵³
1699+
// Normalize `x` so the top word has its MSB in bit 255 or 254.
1700+
// x ≥ 2⁵⁰⁹
17011701
uint256 shift = x_hi.clz() & 0xfe;
17021702
(, x_hi, x_lo) = _shl256(x_hi, x_lo, shift);
17031703

0 commit comments

Comments
 (0)