dev backend: Num.isMultipleOf

This commit is contained in:
Folkert 2023-04-27 13:50:27 +02:00
parent 10a497fdde
commit 0bf3eefbf2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 34 additions and 1 deletions

View file

@ -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.");