mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
make division by zero (integer) not trap
This commit is contained in:
parent
0b0127f45e
commit
979128cf32
88 changed files with 549 additions and 545 deletions
|
@ -308,7 +308,7 @@ map_symbol_to_lowlevel! {
|
|||
NumCompare <= NUM_COMPARE;
|
||||
NumDivFrac <= NUM_DIV_FRAC;
|
||||
NumDivCeilUnchecked <= NUM_DIV_CEIL;
|
||||
NumDivTruncUnchecked <= NUM_DIV_TRUNC;
|
||||
NumDivTruncUnchecked <= NUM_DIV_TRUNC_UNCHECKED;
|
||||
NumRemUnchecked <= NUM_REM;
|
||||
NumIsMultipleOf <= NUM_IS_MULTIPLE_OF;
|
||||
NumAbs <= NUM_ABS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue