mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
handle int64 overflow by f64
This commit is contained in:
parent
ef3f004e30
commit
a1f981a973
2 changed files with 15 additions and 25 deletions
|
@ -63,6 +63,10 @@ do_execsql_test numberic-literal-exceed-max-i64 {
|
|||
SELECT 9_223_372_036_854_775_808;
|
||||
} {9.22337203685478e+18}
|
||||
|
||||
do_execsql_test numberic-literal-exceed-min-i64 {
|
||||
SELECT -9_223_372_036_854_775_809;
|
||||
} {-9.22337203685478e+18}
|
||||
|
||||
do_execsql_test_any_error invalid-numberic-literal-1 {
|
||||
SELECT 0xFF__FF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue