Re: Max integer in an 8 byte COMP field?



"Graham Hobbs" <ghobbs@xxxxxxxxxxx> wrote in message
news:j9nh23lfuelrdtvktcjh84ugd6s9kjh51u@xxxxxxxxxx
I can't figure this out.
Am trying to find the largest integer that will fit inside a 'comp'
field of 8 bytes (64 bits).

Um, that would be 2^63 -1 (signed) or 2^64 -1 (unsigned) .

How you would 'display' or 'print' it or 'use it in an arithmetic
computation' is a whole separate topic, but that's what fits in a 64 bit
binary integer.

MCM










.