From 0aacc11829406cf8c0057f71057a300a49ffc12d Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Tue, 10 May 2022 08:04:47 -0700 Subject: [PATCH] Correct comment for x2nmodp. --- crc32_braid_comb_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crc32_braid_comb_p.h b/crc32_braid_comb_p.h index 8a00cfa778..a269e7f5b7 100644 --- a/crc32_braid_comb_p.h +++ b/crc32_braid_comb_p.h @@ -23,7 +23,8 @@ static uint32_t multmodp(uint32_t a, uint32_t b) { } /* - Return x^(n+k) modulo p(x). Requires that x2n_table[] has been initialized. + Return x^(n * 2^k) modulo p(x). Requires that x2n_table[] has been + initialized. */ static uint32_t x2nmodp(z_off64_t n, unsigned k) { uint32_t p;