-
Notifications
You must be signed in to change notification settings - Fork 228
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
floor div, variadic mod #1207
floor div, variadic mod #1207
Conversation
I wanted to bring up the issue of where tests related to When working on the reorganization of tests recently, I made some changes in that direction, namely to place some things with
I don't think I got everything relevant moved in to Perhaps the comments above belong in a separate issue, but if there are to be tests in this PR that use |
I'll be adding a few more tests to this suite. While I'm there, I can look into moving any remaining tests as well. |
See: Knuth, Donald E., _The Art of Computer Programming: Volume 1: Fundamental Algorithms_, pp. 15 ([link](https://books.google.com/books?id=x9AsAwAAQBAJ&pg=PA15))
Thanks for the test moving / shielding in b3db367. Looking over the proposed changes in 8a62c74, I was reminded of something @pyrmont mentioned recently about how |
I can't immediately think of a reason why Firstly, the vm asserts that the type is Lines 731 to 736 in b125cbe
I think that's all that would need to change, apart from the implementation in inttypes , of course.
Definitely a separate PR, though. |
Related issue: #1206
div
)mod
and%
variadic(mod x 0)
asx
,(% x 0)
is unchanged