Skip to content

Commit

Permalink
Fix the upper bound in the description of mods (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
upbqdn committed May 29, 2023
1 parent 267961b commit 6c2233b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scalar.rs
Expand Up @@ -877,7 +877,7 @@ impl Scalar {
///
/// Here \\( \bar x = x \operatorname{mods} 2^w \\) means the
/// \\( \bar x \\) with \\( \bar x \equiv x \pmod{2^w} \\) and
/// \\( -2^{w-1} \leq \bar x < 2^w \\).
/// \\( -2^{w-1} \leq \bar x < 2^{w-1} \\).
///
/// We implement this by scanning across the bits of \\(k\\) from
/// least-significant bit to most-significant-bit.
Expand Down

0 comments on commit 6c2233b

Please sign in to comment.