2

Is a long 128 bits on a 64 bit machine?

Edit: Duplicate question; see sizeof(int) on x64?.

Community
  • 1
  • 1
Ted Smith
  • 9,415
  • 16
  • 50
  • 52
  • Duplicate question. Good answers here: http://stackoverflow.com/questions/651956/sizeofint-on-x64 – andleer Mar 18 '09 at 22:40

3 Answers3

10

On both 32-bit and 64-bit machines:

  • long is 64-bit, it's a synonym for System.Int64.
  • int is 32-bit, it's a synonym for System.Int32.
Michael Damatov
  • 15,253
  • 10
  • 46
  • 71
1

Nope ... 64 bits

RedBlueThing
  • 42,006
  • 17
  • 96
  • 122
1

long.MinValue and long.MaxValue are your friend