-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Optimize BigInteger.Divide #96895
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
Merged
Merged
Optimize BigInteger.Divide #96895
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
919f4e6
Add divide tests
kzrnm e5948e9
Divide by Burnikel-Ziegler algorithm
kzrnm e84cbb6
Copy from UInt128
kzrnm d270ae8
fix
kzrnm 8d5040b
Test
kzrnm cfcd62e
Assert(CompareActual())
kzrnm 7d64f49
OuterLoop
kzrnm c72c0b6
RunWithFakeThreshold
kzrnm 48c2f75
Use ActualLength
kzrnm 29f2fb1
Clear
kzrnm 4f087e3
Merge branch 'main' into BigIntegerDivide
tannergooding e9d3d1e
Unnecessary if
kzrnm 79ed99a
Remove unreachable path
kzrnm b435d69
Merge branch 'main' into BigIntegerDivide
kzrnm 4f60999
Merge remote-tracking branch 'upstream/main' into BigIntegerDivide
kzrnm d520e5b
Fix
kzrnm fca7589
DivideGrammarSchool if n is less than or equals to DivideThreshold
kzrnm 6ac27a6
Fix D3n2n
kzrnm 003d1c9
DivideBurnikelZieglerThreshold
kzrnm 2a462e0
remainder
kzrnm 652f17d
halfN → n
kzrnm bfc39f7
DisableParallelization
kzrnm b66d885
Merge branch 'main' into BigIntegerDivide
kzrnm 9ffb4d3
Merge remote-tracking branch 'upstream/main' into BigIntegerDivide
kzrnm 0288d40
Merge branch 'main' into BigIntegerDivide
danmoseley c71a482
Merge remote-tracking branch 'dotnet/main' into BigIntegerDivide
tannergooding 801462a
Resolve merge conflicts
tannergooding b1122cf
Add brace
kzrnm 0b57afb
Rename DummyForDebug to InitializeForDebug
kzrnm 6c61159
Add comment
kzrnm 9ec331c
Fix format
kzrnm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
DivideBurnikelZieglerThreshold
- Loading branch information
commit 003d1c937a3c69d57978d34d849adf56d3f648bc
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.