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
[stdlib] Add unit tests for the SIMD __rfloordiv__() method and constraint check on the element types #2415
Comments
Since the SIMD type already includes mod() and rmod(), I have added rfloordiv() for greater comprehensiveness in built-in types. Additionally, the Int and Object types also support this method. |
This issue is missing title :) |
__rfloordiv__()
to SIMD type
I will take this up if noone is working on this. |
It's already assigned to me and there is a PR for the issue. |
Oh. Np I couldn't see any PR in this thread. Didn't see it was already assigned🤟🏻 |
The __rfloordiv__() method is already supported by Int and Object. The built-in SIMD includes support for reverse division operators, specifically __rtruediv__() and __rmod__(). Furthermore, the SIMD library has been extended to also support __rfloordiv__(). Fixes: modularml#2415 Signed-off-by: Peyman Barazandeh <peymanb@gmail.com>
The __rfloordiv__() method is already supported by Int and Object. The built-in SIMD includes support for reverse division operators, specifically __rtruediv__() and __rmod__(). Furthermore, the SIMD library has been extended to also support __rfloordiv__(). Fixes: modularml#2415 Signed-off-by: Peyman Barazandeh <peymanb@gmail.com>
Maybe we can close this PR as this has already been implemented in f5aee40 ? |
__rfloordiv__()
to SIMD type
Review Mojo's priorities
What is your request?
The Int and Object types support rfloordiv. I added this method to the SIMD type in this PR:
#2414
What is your motivation for this change?
Extending the SIMD type to support more math operations.
Any other details?
No response
The text was updated successfully, but these errors were encountered: