-
-
Notifications
You must be signed in to change notification settings - Fork 670
Add rem builtin for i32 and i64 (#1310) #2306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi! Thanks for PR. Similar to division builtins it should be splitted to rem_s and rem_u. See: assemblyscript/src/builtins.ts Line 6826 in a2acee0
assemblyscript/src/builtins.ts Line 6835 in a2acee0
|
Thanks for the review @MaxGraey! I just implemented the split. I have a doubt on types in the std because the |
Thanks, looks good, just a few nits on wording above :) Regarding
In the |
Thanks for your review! I can change that in another PR as you said 👍 |
Implement the builtin
rem
fori32
andi64
, requested in the issue #1310