From 6c2233bc45f82827a55b159bf4d339947dc41600 Mon Sep 17 00:00:00 2001 From: Marek Date: Mon, 29 May 2023 23:24:45 +0200 Subject: [PATCH] Fix the upper bound in the description of `mods` (#525) --- src/scalar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scalar.rs b/src/scalar.rs index 829f560..6ccd51e 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -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.