[Issue 23605] New: The current implementation of powmod is very slow for the ulong type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 8 03:40:36 UTC 2023


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

          Issue ID: 23605
           Summary: The current implementation of powmod is very slow for
                    the ulong type
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: siarhei.siamashka at hotmail.com

Long multiplication with a 128-bit result can be used to optimize
https://github.com/dlang/phobos/blob/v2.101.2/std/math/exponential.d#L830-L854

--


More information about the Digitalmars-d-bugs mailing list