Skip to content

Commit

Permalink
leading_zeros_18.go - fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
skullhole committed Aug 24, 2024
1 parent f156426 commit 630b883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leading_zeros_18.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var len8tab = "" +
"\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08" +
"\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08"

// Len64 returns the minimum number of bits required to represent x; the result is 0 for x == 0.
// len64 returns the minimum number of bits required to represent x; the result is 0 for x == 0.
func len64(x uint64) (n uint) {
if x >= 1<<32 {
x >>= 32
Expand Down

0 comments on commit 630b883

Please sign in to comment.