On Sat, Oct 26, 2013 at 12:30 PM, George Collins wrote:
>
> "If X is the integer -9223372036854775807 then abs(X) throws an integer
> overflow error since there is no equivalent positive 64-bit two complement
> value."
>
> It's off by one: X is actually
Don't ask me what use case made me notice this, but the
http://www.sqlite.org/lang_corefunc.html documentation for abs(), as of 12:29PM
EDT on 10/26/2013, is only about 99.89157978275145% accurate.
"If X is the integer -9223372036854775807 then abs(X) throws an integer
overflow
2 matches
Mail list logo