D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18668 - Implement modPow() for std.bigint
Summary: Implement modPow() for std.bigint
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P3 enhancement
Assignee: Jonathan Wilbur
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 01:10 UTC by Jonathan Wilbur
Modified: 2021-02-17 06:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jonathan Wilbur 2018-03-27 01:10:30 UTC
Implement a modPow operator for std.bigint. For comparison, see modPow in BigInteger.js.
Comment 1 Andrei Vasile 2018-03-31 10:56:41 UTC
Hey, are you currently working on this? I am interested in solving this bug. Please let me know. Thanks!
Andrei
Comment 2 Nathan S. 2021-02-17 06:19:24 UTC
`std.bigint.powMod` was added in version 2.087 but did not appear in the changelog.

https://github.com/dlang/phobos/commit/e962cc7ec558e2cd097756e585f3edc06db9bcbf