The result is still somewhat disappointing. :-/
| > 1234567890; | (20) Result: 1234567890 | > 12345678900; | (21) Result: -539222988
| > sprintf("%x",0x80000000); | (16) Result: "-80000000" | > sprintf("%x",0x7fffffff+1); | (17) Result: "80000000"
| > int i=4; i=i*1000*1000*1000; | (10) Result: 4000000000 | > object_program(i); | (11) Result: 0 | > object_program(i*i); | (12) Result: Gmp.bignum | > i*i; | (13) Result: -1179869184000000000
Close. But not close enough. :-)
/ Mirar
Previous text:
2003-01-26 13:55: Subject: INT_TYPE = INT64 (Bz2)
I added a semi-kludge now, that puts the min and max values in range, to MIN_ and MAX_INT32 respectively if the value was outside the range. (Only active if SIZEOF_INT_TYPE>4.)
/ Mirar