Skip to content
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

Use integer-logarithms #51

Merged
merged 2 commits into from
Mar 25, 2017
Merged

Use integer-logarithms #51

merged 2 commits into from
Mar 25, 2017

Conversation

Bodigrim
Copy link
Owner

This patch introduces two breaking changes:

  1. Use integer-logarithms package, where Math.NumberTheory.Logarithms has been moved. This is a good thing, because integer logarithms do not have direct connection to number theory, and their implementation is quite low-level.

  2. Deprecate Math.NumberTheory.Powers.Integer and replace implementations of integerPower/integerWordPower with trivial ^. I do not know, maybe during ancient dark ages they were faster than built-in ^, but nowadays they are significantly slower.

@Bodigrim Bodigrim merged commit 737a521 into Bodigrim:master Mar 25, 2017
@Bodigrim Bodigrim deleted the integer-log branch April 1, 2017 14:30
@cartazio cartazio mentioned this pull request Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant