std.bigint powmod incorrect result
Bug #2003613 reported by
Guido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Compile and run the attached reproducer on Ubuntu 20.04 using:
ldc2 powmodpoc.d && ./powmodpoc
this crashes with an assert failure because the result of powmod() is incorrect.
It does not cause a crash on Ubuntu 22.04 or the latest upstream version.
To post a comment you must log in.