mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
make decimal math ops correctly report overflow
This commit is contained in:
parent
2b5ec3dcf1
commit
23ea151d5f
8 changed files with 155 additions and 165 deletions
|
@ -71,7 +71,7 @@ pub const DEC_FROM_F64: &str = "roc_builtins.dec.from_f64";
|
|||
pub const DEC_EQ: &str = "roc_builtins.dec.eq";
|
||||
pub const DEC_NEQ: &str = "roc_builtins.dec.neq";
|
||||
pub const DEC_NEGATE: &str = "roc_builtins.dec.negate";
|
||||
pub const DEC_ADD: &str = "roc_builtins.dec.add";
|
||||
pub const DEC_SUB: &str = "roc_builtins.dec.sub";
|
||||
pub const DEC_MUL: &str = "roc_builtins.dec.mul";
|
||||
pub const DEC_ADD_WITH_OVERFLOW: &str = "roc_builtins.dec.add_with_overflow";
|
||||
pub const DEC_SUB_WITH_OVERFLOW: &str = "roc_builtins.dec.sub_with_overflow";
|
||||
pub const DEC_MUL_WITH_OVERFLOW: &str = "roc_builtins.dec.mul_with_overflow";
|
||||
pub const DEC_DIV: &str = "roc_builtins.dec.div";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue