Skip to content

Commit

Permalink
docs: fix simple typo, substract -> subtract
Browse files Browse the repository at this point in the history
There is a small typo in tests/c-tests/bit_operations.c.

Should read `subtract` rather than `substract`.
  • Loading branch information
timgates42 committed Dec 9, 2020
1 parent 053ed8e commit d859ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/c-tests/bit_operations.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main(int argc, char **argv)
for (width = 1; width < 65; width++){
for (shift = 0; shift < 9; shift++){
uint64_t offs, popsum = 0;
/* substract the first shift bits from the sum */
/* subtract the first shift bits from the sum */
uint64_t popsum_shift = popcount(src_rand[0] & ((1 << shift) - 1));

memset(dst_rand, 0, (NUM_WORDS + 1) * 8);
Expand Down

0 comments on commit d859ba9

Please sign in to comment.