bit-count
Returns the number of bits set to 0 or 1 in a
<bit-vector>
.
Exported from
Module bit-vector
Arguments
vector
An instance of
<bit-vector>
.
bit-value:
An instance of
<bit>
specifying whether 0 bits or 1 bits should be counted. The default is 1.
Values
count
An instance of
<integer>
.
A vector that contains <bit>s.
The bit-vector module.
An integer with a value of 0 or 1.
The class of integers.