Re: Extracting bits out of huge numbers
- From: bugbear <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 11:55:54 +0100
hofer wrote:
Hi Bugbear,
I'm not that gifted in explaining, but I t'll try.
First if your question concerns the representation of binary numbers:
Then look at http://en.wikipedia.org/wiki/Binary_numeral_system
I am familiar with multi precision and multi base concepts.
>>Example Bits 16 bis 12 should result in 0b00001 == 0x1 == 1
>> Bits 17 bis 12 should result in 0b100001 == 0x21 == 33
what do you mean by
"Bits 16 bis 12"
and
"Bit 17s bis 12"
what is "bis" ?
BugBear
.
- Follow-Ups:
- Re: Extracting bits out of huge numbers
- From: Ben Morrow
- Re: Extracting bits out of huge numbers
- References:
- Extracting bits out of huge numbers
- From: hofer
- Re: Extracting bits out of huge numbers
- From: bugbear
- Re: Extracting bits out of huge numbers
- From: hofer
- Extracting bits out of huge numbers
- Prev by Date: Re: Extracting bits out of huge numbers
- Next by Date: FAQ 3.24 Why don't Perl one-liners work on my DOS/Mac/VMS system?
- Previous by thread: Re: Extracting bits out of huge numbers
- Next by thread: Re: Extracting bits out of huge numbers
- Index(es):