mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
feat: adds Num.mulWrap and Num.mulChecked
This commit is contained in:
parent
d3d3497b46
commit
f3bd5368f0
7 changed files with 162 additions and 4 deletions
|
@ -34,6 +34,8 @@ pub enum LowLevel {
|
|||
NumSubWrap,
|
||||
NumSubChecked,
|
||||
NumMul,
|
||||
NumMulWrap,
|
||||
NumMulChecked,
|
||||
NumGt,
|
||||
NumGte,
|
||||
NumLt,
|
||||
|
|
|
@ -800,6 +800,8 @@ define_builtins! {
|
|||
57 NUM_BITWISE_AND: "bitwiseAnd"
|
||||
58 NUM_SUB_WRAP: "subWrap"
|
||||
59 NUM_SUB_CHECKED: "subChecked"
|
||||
60 NUM_MUL_WRAP: "mulWrap"
|
||||
61 NUM_MUL_CHECKED: "mulChecked"
|
||||
}
|
||||
2 BOOL: "Bool" => {
|
||||
0 BOOL_BOOL: "Bool" imported // the Bool.Bool type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue