lua-users home
lua-l archive

Re: Bit ops on boolean arrays?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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/

AltStyle によって変換されたページ (->オリジナル) /