[Issue 6244] Add powmod / modpow function to std.math

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 17:46:17 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=6244

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/7781aaa7b1b50858c459372b291fd80092f5ef18
Fix Issue 6244 - Add powmod / modpow function to std.math

addmod for powmod

powm refactor

supports unsigned

added more tests

specify imported symbols

spaces around casts

review comments

https://github.com/dlang/phobos/commit/24cc67c1576c8da291d5812bc31279d8e871bdf2
Merge pull request #5761 from jercaianu/powmod

Fix Issue 6244 - Add powmod / modpow function to std.math
merged-on-behalf-of: Andrei Alexandrescu <andralex at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list