hotCSchick
August 29th, 2004, 02:44 AM
how do you find the first bit set in a bitstring? (without iterating through the bits of course...)
and how do you find the last bit set?
i think there was a way to do one of the above or both, and i'm trying to figure it out, but can't remember.
thanks for any replies!
and how do you find the last bit set?
i think there was a way to do one of the above or both, and i'm trying to figure it out, but can't remember.
thanks for any replies!