make division by zero (integer) not trap

This commit is contained in:
Folkert 2024-01-28 21:16:13 +01:00
parent 0b0127f45e
commit 979128cf32
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
88 changed files with 549 additions and 545 deletions

View file

@ -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