Re: [sqlite] Failed test on aarch64

2013-11-27 Thread Dan Kennedy
On 11/27/2013 04:26 PM, Zsbán Ambrus wrote: On Tue, Nov 26, 2013 at 5:01 PM, Richard Hipp wrote: The check-in above changes the behavior of REAL-to-INTEGER casts where the REAL value is larger than the largest possible integer. For example: SELECT CAST(9223372036854775808.0 to INTEGER);

Re: [sqlite] Failed test on aarch64

2013-11-27 Thread Zsbán Ambrus
On Tue, Nov 26, 2013 at 5:01 PM, Richard Hipp wrote: > The check-in above changes the behavior of REAL-to-INTEGER casts where the > REAL value is larger than the largest possible integer. For example: > > SELECT CAST(9223372036854775808.0 to INTEGER); > > The change causes the query to yield

Re: [sqlite] Failed test on aarch64

2013-11-26 Thread Richard Hipp
Checkin http://www.sqlite.org/src/info/6f53fc7106 is an important behavior change for SQLite. The check-in above changes the behavior of REAL-to-INTEGER casts where the REAL value is larger than the largest possible integer. For example: SELECT CAST(9223372036854775808.0 to INTEGER); All hi

Re: [sqlite] Failed test on aarch64

2013-11-26 Thread Richard Hipp
On Tue, Nov 26, 2013 at 6:39 AM, Jan Staněk wrote: > Hello, > I'm trying to build sqlite for aarch64 (ARMv8) and one of the expression > tests is failing (specifically e_expr-31.2.4) with: > > Expected: [integer -9223372036854775808] > > Got: [integer 9223372036854775807] > From the comment,

Re: [sqlite] Failed test on aarch64

2013-11-26 Thread Clemens Ladisch
Jan Staněk wrote: > I'm trying to build sqlite for aarch64 (ARMv8) and one of the expression > tests is failing (specifically e_expr-31.2.4) with: >> Expected: [integer -9223372036854775808] >> Got: [integer 9223372036854775807] > From the comment, I gather that this should test correct CASTin

[sqlite] Failed test on aarch64

2013-11-26 Thread Jan Staněk
Hello, I'm trying to build sqlite for aarch64 (ARMv8) and one of the expression tests is failing (specifically e_expr-31.2.4) with: > Expected: [integer -9223372036854775808] > Got: [integer 9223372036854775807] >From the comment, I gather that this should test correct CASTing from REAL to INT