Posted by Jerry Stuckle on 10/13/06 12:15
..:[ ikciu ]:. wrote:
> Hmm tranzparency@gmail.com <pringlized@gmail.com> wrote:
>
>>I'm checking (example 8) have it return a true or false if 8 exists in
>>63?
>
>
> bit compare or use modulo
>
>
Modulo won't work, i.e.
7 % 8 = 7;
15 % 8 = 7;
Even though the first has the 8 bit off and the second has it on.
Bit AND works great.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|