Bug 23605 – The current implementation of powmod is very slow for the ulong type

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2023-01-08T03:40:36Z
Last change time
2024-12-01T16:41:00Z
Assigned to
No Owner
Creator
Siarhei Siamashka
Moved to GitHub: phobos#10513 →

Comments

Comment #0 by siarhei.siamashka — 2023-01-08T03:40:36Z
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
Comment #1 by robert.schadek — 2024-12-01T16:41:00Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10513 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB