[Issue 6244] New: Add powmod / modpow function to std.math
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jul 3 15:15:08 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6244
Summary: Add powmod / modpow function to std.math
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: josvanuden at gmail.com
--- Comment #0 from josvanuden at gmail.com 2011-07-03 15:10:08 PDT ---
I think a powmod function should be part of std.math. It's important for many
types of algorithms for avoiding overflow and it's not something that the
average person can write off the top of their head.
Currently I'm using a powmod code that I found on the internet. I'm not even
sure what the licensing terms of it are.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list