Re: Max integer in an 8 byte COMP field?
- From: "Michael Mattias" <mmattias@xxxxxxxxxxxxxx>
- Date: Fri, 20 Apr 2007 16:01:52 GMT
"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
.
- References:
- Max integer in an 8 byte COMP field?
- From: Graham Hobbs
- Max integer in an 8 byte COMP field?
- Prev by Date: Max integer in an 8 byte COMP field?
- Next by Date: Re: Max integer in an 8 byte COMP field?
- Previous by thread: Max integer in an 8 byte COMP field?
- Next by thread: Re: Max integer in an 8 byte COMP field?
- Index(es):