In article <43**********************@reader1.news.tin.it>,
none <no**@none.none> wrote:
i'm trying to create variables made by a number of bit rounding about 500
bit, on which i can perform bit operations like & and |.
the problem is that i'm unable to resolve this problem without chunking the
variable in smaller parts, and this is a solution that i wouldn't use.
If you refuse to chunking of the variable into smaller parts, then
you will need to:
a) find some very specific hardware that supports large bit operations
and code only for that; or
b) use a different programming language which will hide the chunking
from your sight; or
c) give up.
There is nothing you can do in standard C that can extend the
number of bits that the hardware itself can operate on at one time.
If the maximum word size that a particular compiler can use on
a particular machine is 32 bits, then there is not going to be anything
you can do to force the hardware to operate on 33 or 48 or 64 bits.
All you -can- do is write software routines that operate on a chunk
at a time.
--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers