CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1

    64-bit and integer representation...

    With 64-bit processors becoming more and more common, is there a commonly accepted method which represents 64-bit integers in a more readable form?

    Previous hex can represent 32-bit integers fairly nicely, still readable. But I was wondering how people were representing 64-bit integers in code so that it was still fairly readable.

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: 64-bit and integer representation...

    We use 64 bit numbers for a couple things here, and we still use the old notation, "0xFFFF0000AAAA5555".

    Viggy

  3. #3

    Re: 64-bit and integer representation...

    I guess you must find it pretty easy to read then?

    Does it not affect code maintenance at all?

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: 64-bit and integer representation...

    I haven't had an issue with it (yet).

    Viggy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured