We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d114863 commit 6df8d89Copy full SHA for 6df8d89
src/modular/div_by_2.rs
@@ -17,7 +17,7 @@ pub(crate) const fn div_by_2<const LIMBS: usize>(
17
// Note that this also works if `a` is a Montgomery representation modulo `modulus`
18
// of some integer `x`.
19
// If `b + b = a mod modulus` it means that `y + y = x mod modulus` where `y` is the integer
20
- // whose Mongtgomery representation is `b`.
+ // whose Montgomery representation is `b`.
21
22
let (half, is_odd) = a.shr1_with_carry();
23
let half_modulus = modulus.0.shr1();
0 commit comments