how to make a long long

Adrian Sandor aditsu@yahoo.com
Sat Feb 22 15:44:00 GMT 2003


> what is wrong with
> 
> unsigned long long i = ((0x0ULL | uint32high) << 32)
> | uint32low;
> 
> ?

this approach uses an OR between an unsigned long long
and an unsigned int, a SHIFT-LEFT on an unsigned long
long and another OR between 2 an unsigned long long
and an unsigned int;
I think these are too heavy calculations just for
putting 2 unsigned ints next to each other

Adrian

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the Gcc-help mailing list