From: Mark Adler Date: Tue, 10 May 2022 15:04:47 +0000 (-0700) Subject: Correct comment for x2nmodp. X-Git-Tag: 2.1.0-beta1~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aacc11829406cf8c0057f71057a300a49ffc12d;p=thirdparty%2Fzlib-ng.git Correct comment for x2nmodp. --- diff --git a/crc32_braid_comb_p.h b/crc32_braid_comb_p.h index 8a00cfa77..a269e7f5b 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;