mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +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
|
@ -1275,6 +1275,7 @@ define_builtins! {
|
|||
163 NUM_TAU: "tau"
|
||||
164 NUM_BITWISE_NOT: "bitwiseNot"
|
||||
165 NUM_IS_APPROX_EQ: "isApproxEq"
|
||||
166 NUM_DIV_TRUNC_UNCHECKED: "divTruncUnchecked" // traps on division by zero
|
||||
}
|
||||
4 BOOL: "Bool" => {
|
||||
0 BOOL_BOOL: "Bool" exposed_type=true // the Bool.Bool type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue