how to make a long long

Mihnea Balta dark_lkml@mymail.ro
Thu Feb 20 11:40:00 GMT 2003


On Thursday 20 February 2003 12:58, Sebastian Huber wrote:
> On Thursday 20 February 2003 09:56, Adrian Sandor wrote:
> > Wich is the proper way to make an unsigned long long
> > from two unsigned ints (high and low dwords) without
> > too many conversions and calculations?
> > [...]
>
> Hi,
> what is wrong with
>
> unsigned long long i = ((0x0ULL | uint32high) << 32) | uint32low;
Erm... nothing.




More information about the Gcc-help mailing list