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: nob...@puremagic.com
        ReportedBy: josvanu...@gmail.com


--- Comment #0 from josvanu...@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: -------

Reply via email to