Result is wrong for expmod
Issue #1076
new
Hi,
I tried to compute mod(9^120; 21888242871839275222246405745257275088548364400416034343698204186575808495617). Speedcrunch says it's 15981271856094295009966540303472842477944738502372137727449571837040063289088. However, I checked and both bc (basic calculator) and Wolfram Alpha say it's 15981271856094295009966540303472842477944737149614726869363761347819886461889. Don't check these numbers from the beginning; check them from the end. More than the first half of the digits is identical in both of them.