mirror of
https://github.com/chaisql/chai.git
synced 2025-12-24 11:30:53 +08:00
fix overflow check for integer multiplication
This commit is contained in:
@@ -96,6 +96,11 @@ NULL
|
||||
> 4.5 + 4.5
|
||||
9.0
|
||||
|
||||
> 10 * -10
|
||||
-100
|
||||
|
||||
> 10 + -10
|
||||
|
||||
! 1000000000 * 1000000000
|
||||
|
||||
! 1000000000000000000 * 1000000000000000000 * 1000000000000000000
|
||||
|
||||
Reference in New Issue
Block a user