- Notifications
You must be signed in to change notification settings - Fork1.6k
Optimize_Div_ceil<_Signed128>#5637
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
… `_Div_ceil`?Use `_ZERO_OR_NO_INIT` for downlevel support.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
StephanTLavavej commentedSep 5, 2025
Thanks! 😻 I pushed a few simplifications/optimizations, please double-check. |
StephanTLavavej commentedSep 10, 2025
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed |
1a11f5d intomicrosoft:mainUh oh!
There was an error while loading.Please reload this page.
StephanTLavavej commentedSep 10, 2025
Thanks for mathing faster! 🧮 🚀 😻 |
_Sizetemplate parameter to_Int._Signed128::_Div_ceilfunction, which is simply a combination of_Base128::_Divideand_Base128::_Modulo. For better performance, this function does not accept negative arguments.<ranges>:_Div_ceilcan be implemented more efficiently for_Signed128and_Unsigned128#2948.