Skip to content

Commit

Permalink
Correct comment for x2nmodp.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler authored and Dead2 committed May 25, 2022
1 parent 8c94546 commit 0aacc11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crc32_braid_comb_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0aacc11

Please sign in to comment.