]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Correct comment for x2nmodp.
authorMark Adler <madler@alumni.caltech.edu>
Tue, 10 May 2022 15:04:47 +0000 (08:04 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 25 May 2022 10:04:35 +0000 (12:04 +0200)
crc32_braid_comb_p.h

index 8a00cfa778b27fa55de38b0a409a4c6d7118b13f..a269e7f5b79f590a88d7ffb92f44d45cf740d51e 100644 (file)
@@ -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;