SIGN IN SIGN UP

Change the REAL-to-INTEGER casting behavior so that if the REAL value

is greater than 9223372036854775807.0 then it is cast to the latest
possible integer, 9223372036854775807.  This is sensible and the way
most platforms work in hardware.  The former behavior was that oversize
REALs would be cast to the smallest possible integer, -9223372036854775808,
which is the way Intel hardware works.

FossilOrigin-Name: 6f53fc7106658d44edf63068f9a8522fa5a7688b
D
drh committed
de1a8b8c691ecc8be8b9741b6b5b5cd141c8c3da
Parent: dad19c3