This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sfaisalawan
Recipients sfaisalawan
Date 2016-09-08.14:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473344467.84.0.165725302735.issue28021@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

when I calculate (11**19)%23 it gives me 15 but when I try to do the same operation manually it give a totally different result which is 1395.

>>> 11**19
61159090448414546291
>>> (11**19)%23
15
>>> a=11**19
>>> a
61159090448414546291
>>> b=23
>>> c=int(a/b)
>>> c
2659090889061501952
>>> d=b*c
>>> d
61159090448414544896
>>> e=a-d
>>> e
1395
History
Date User Action Args
2016-09-08 14:21:07sfaisalawansetrecipients: + sfaisalawan
2016-09-08 14:21:07sfaisalawansetmessageid: <1473344467.84.0.165725302735.issue28021@psf.upfronthosting.co.za>
2016-09-08 14:21:07sfaisalawanlinkissue28021 messages
2016-09-08 14:21:07sfaisalawancreate