Fixed popcount name in docs

This commit is contained in:
Jens Axel Søgaard 2012-11-28 23:14:52 +01:00
parent c64c325a55
commit 6e60fb0a1d

View File

@ -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?]