crash on rem div by zero

This commit is contained in:
Kiryl Dziamura 2024-01-29 18:16:20 +01:00
parent dd86b11150
commit b3dfdb562b
No known key found for this signature in database
GPG key ID: FB539501A4561ACF
88 changed files with 554 additions and 534 deletions

View file

@ -1276,6 +1276,7 @@ define_builtins! {
164 NUM_BITWISE_NOT: "bitwiseNot"
165 NUM_IS_APPROX_EQ: "isApproxEq"
166 NUM_DIV_TRUNC_UNCHECKED: "divTruncUnchecked" // traps on division by zero
167 NUM_REM_UNCHECKED: "remUnchecked" // traps on division by zero
}
4 BOOL: "Bool" => {
0 BOOL_BOOL: "Bool" exposed_type=true // the Bool.Bool type alias