Combining ULong

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Oct 4 10:40:00 CDT 2007


On 4/10/07 6:38 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:

>> 
>>        (objptr_comppool << 32) +  objptr_module
>> 
> sorry, I need a bit more explanation (am bad in these bit calc)
> 
> the << is a shiftLeft op , right ?

yes
 
> so in the ULLong the first 32 bits are now objptr_comppool
>   and then we add ???? objptr_module

Yes. So you get ULLONG value on 8 bytes.

Is this what you are looking for ?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list