Adds castToNat

This commit is contained in:
Joshua Hoeflich 2021-08-18 11:02:20 -05:00
parent 7068da7144
commit 92da003fba
8 changed files with 23 additions and 2 deletions

View file

@ -89,6 +89,7 @@ pub enum LowLevel {
NumAsin,
NumBytesToU16,
NumBytesToU32,
NumCastToNat,
NumBitwiseAnd,
NumBitwiseXor,
NumBitwiseOr,
@ -125,8 +126,8 @@ impl LowLevel {
| NumSqrtUnchecked | NumLogUnchecked | NumRound | NumToFloat | NumPow | NumCeiling
| NumPowInt | NumFloor | NumIsFinite | NumAtan | NumAcos | NumAsin | NumBitwiseAnd
| NumBitwiseXor | NumBitwiseOr | NumShiftLeftBy | NumShiftRightBy | NumBytesToU16
| NumBytesToU32 | NumShiftRightZfBy | NumIntCast | Eq | NotEq | And | Or | Not
| Hash | ExpectTrue => false,
| NumBytesToU32 | NumCastToNat | NumShiftRightZfBy | NumIntCast | Eq | NotEq | And
| Or | Not | Hash | ExpectTrue => false,
ListMap | ListMap2 | ListMap3 | ListMapWithIndex | ListKeepIf | ListWalk
| ListWalkUntil | ListWalkBackwards | ListKeepOks | ListKeepErrs | ListSortWith