Re: Forming a 64bit integer from two 32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess the right mailing list for this kind of C questions would be
the comp.lang.c group.

Anyways,

> bits. Bit shifts didnt help me since shifts greater than 32 are not
> passed on .
Are you sure?

Try something like:
bignumber = (long long)hi << 35;


--
Jagadeesh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux