Re: Bit ops on boolean arrays?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Bit ops on boolean arrays?
- From: Tony Finch <dot@...>
- Date: 2010年12月30日 20:53:46 +0000
On 30 Dec 2010, at 18:25, Eduardo Ochs <eduardoochs@gmail.com> wrote:
> What about implementing in C the functions:
>
> bitarray_and
> bitarray_or
> bitarray_xor
> bitarray_not
>
> that operate on strings? A string with length 20 would then stand for
> an array of 160 bits...
Yes, that is the way to do it.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/