Click to See Complete Forum and Search --> : 64-bit and integer representation...


goatslayer
April 4th, 2008, 09:13 AM
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.

MrViggy
April 4th, 2008, 10:41 AM
We use 64 bit numbers for a couple things here, and we still use the old notation, "0xFFFF0000AAAA5555".

Viggy

goatslayer
April 4th, 2008, 02:30 PM
I guess you must find it pretty easy to read then?

Does it not affect code maintenance at all?

MrViggy
April 4th, 2008, 02:46 PM
I haven't had an issue with it (yet). ;)

Viggy