K
Keith Valentine
I am learning about integer types and I have found that when I try to
compile code that assigns the highest or lowest 'long' integers to a 'long'
type variable I receive the errors:
"integer number too large: -9223372036854775808"
Or
"integer number too large: 9223372036854775807"
These values contain 19 digits, however values containing a maximum of 9
digits will compile without a problem.
Does anyone know why this is?
Keith
compile code that assigns the highest or lowest 'long' integers to a 'long'
type variable I receive the errors:
"integer number too large: -9223372036854775808"
Or
"integer number too large: 9223372036854775807"
These values contain 19 digits, however values containing a maximum of 9
digits will compile without a problem.
Does anyone know why this is?
Keith