make decimal math ops correctly report overflow

This commit is contained in:
Folkert 2021-07-18 22:04:32 +02:00
parent 2b5ec3dcf1
commit 23ea151d5f
8 changed files with 155 additions and 165 deletions

View file

@ -752,7 +752,7 @@ mod gen_num {
z : Dec
z = 3
x - y - z
(x - y) - z
"#
),
RocDec::from_str_to_i128_unsafe(&"-3.9"),