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

Support construction of std.bigint.BigInt from a sign and a byte-array magnitude #7511

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

n8sh
Copy link
Member

@n8sh n8sh commented Jun 1, 2020

For consistency with other std.bigint functions allows arbitrary ranges.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @n8sh!

Bugzilla references

Auto-close Bugzilla Severity Description
20889 enhancement Support construction of std.bigint.BigInt from a sign and a byte-array magnitude

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#7511"

@n8sh
Copy link
Member Author

n8sh commented Jun 1, 2020

Needed to re-push because of an oversight regarding isNegative.

std/bigint.d Outdated Show resolved Hide resolved
@n8sh
Copy link
Member Author

n8sh commented Jun 1, 2020

Fixed the spelling error in the documentation and changed the requirement from isBidirectionalRange to hasLength || isForwardRange.

std/bigint.d Outdated Show resolved Hide resolved
@n8sh n8sh force-pushed the issue-20889 branch 2 times, most recently from 2e083c2 to 7c03fc3 Compare June 1, 2020 20:26
…gn and a byte-array magnitude

For consistency with other std.bigint functions allows arbitrary ranges.
@n8sh n8sh added the Merge:72h no objection -> merge The PR will be merged if there are no objections raised. label Jun 10, 2020
@12345swordy
Copy link

More than 72 hours has passed.

@thewilsonator thewilsonator added Merge:auto-merge and removed Merge:72h no objection -> merge The PR will be merged if there are no objections raised. labels Jun 20, 2020
@dlang-bot dlang-bot merged commit 595904d into dlang:master Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants