Get int64 from 2 int32?

  • Thread starter Thread starter Tao
  • Start date Start date
Tao said:
hi.. group,

is there anyway that I can get a int64 from 2 int32?

The LARGE_INTEGER union, for Win32 code. In standard C++, you can use
bitshifts and the bitwise OR. If you mean to multiply them, there's the
Int32x32To64 function. Last but not least, you can use the 2 int32s as
indexes into the King James Version bible, pass the associated words to
google, and use 8 bytes of the response at random :)
 
Back
Top