Bug 18668 – Implement modPow() for std.bigint

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-03-27T01:10:30Z
Last change time
2021-02-17T06:19:24Z
Assigned to
Jonathan Wilbur
Creator
Jonathan Wilbur

Comments

Comment #0 by jonathan — 2018-03-27T01:10:30Z
Implement a modPow operator for std.bigint. For comparison, see modPow in BigInteger.js.
Comment #1 by andrei.vasile97 — 2018-03-31T10:56:41Z
Hey, are you currently working on this? I am interested in solving this bug. Please let me know. Thanks! Andrei
Comment #2 by n8sh.secondary — 2021-02-17T06:19:24Z
`std.bigint.powMod` was added in version 2.087 but did not appear in the changelog. https://github.com/dlang/phobos/commit/e962cc7ec558e2cd097756e585f3edc06db9bcbf