On Wed, Jul 23, 2014 at 9:59 AM, Doug Currie <[email protected]> wrote:
> > There is this range of negative > > values smack in the middle of an otherwise uniformly increasing sequence > of > > positive numbers. That negative range seems discombobulating. > > > Why are hex literals interpreted as signed at all? You could simply > consider all hex literals as unsigned values. If you need a negative value, > prefix it with the - operator, e.g., -0x77. > > With this approach (a) there is no discombobulating segment, (b) all 64 bit > bit-masks are supported, and (c) the gradual overflow to double makes > sense. > Because SQLite only supports signed integers internally. If hex literals must be unsigned, that limits them to 63 bits. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

