mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
dev backend: Num.isMultipleOf
This commit is contained in:
parent
10a497fdde
commit
0bf3eefbf2
5 changed files with 34 additions and 1 deletions
|
@ -96,6 +96,8 @@ comptime {
|
|||
num.exportMulSaturatedInt(T, WIDEINTS[i], ROC_BUILTINS ++ "." ++ NUM ++ ".mul_saturated.");
|
||||
num.exportMulWrappedInt(T, ROC_BUILTINS ++ "." ++ NUM ++ ".mul_wrapped.");
|
||||
|
||||
num.exportIsMultipleOf(T, ROC_BUILTINS ++ "." ++ NUM ++ ".is_multiple_of.");
|
||||
|
||||
num.exportCountLeadingZeroBits(T, ROC_BUILTINS ++ "." ++ NUM ++ ".count_leading_zero_bits.");
|
||||
num.exportCountTrailingZeroBits(T, ROC_BUILTINS ++ "." ++ NUM ++ ".count_trailing_zero_bits.");
|
||||
num.exportCountOneBits(T, ROC_BUILTINS ++ "." ++ NUM ++ ".count_one_bits.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue