Fixed popcount name in docs
This commit is contained in:
parent
c64c325a55
commit
6e60fb0a1d
|
@ -79,12 +79,12 @@ Sets the value at index @racket[index] to be @racket[value].
|
|||
Returns the number of items in the bit-vector @racket[bv].
|
||||
}
|
||||
|
||||
@defproc[(bit-vector-count [bv bit-vector?])
|
||||
@defproc[(bit-vector-popcount [bv bit-vector?])
|
||||
exact-nonnegative-integer?]{
|
||||
|
||||
Returns the number of set bits in the bit-vector @racket[bv].
|
||||
@examples[#:eval the-eval
|
||||
(bit-vector-count (bit-vector #f #t #t))]
|
||||
(bit-vector-popcount (bit-vector #f #t #t))]
|
||||
}
|
||||
|
||||
@defproc[(bit-vector-copy [bv bit-vector?]
|
||||
|
|
Loading…
Reference in New Issue
Block a user