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 serhiy.storchaka
Recipients paul.moore, r.david.murray, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-09-04.15:34:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441380866.91.0.375561395935.issue24999@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't understand the test: do we test if the result is zero?

We test that signed long is enough to contain 2 digits. May be it should be written as LONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT.

> Maybe we should put "#elif defined(PY_LONG_LONG) && PY_LLONG_MAX >> 2*PyLong_SHIFT" before?

No. We need to use long long only if long is not enough.
History
Date User Action Args
2015-09-04 15:34:26serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, vstinner, tim.golden, r.david.murray, zach.ware, steve.dower
2015-09-04 15:34:26serhiy.storchakasetmessageid: <1441380866.91.0.375561395935.issue24999@psf.upfronthosting.co.za>
2015-09-04 15:34:26serhiy.storchakalinkissue24999 messages
2015-09-04 15:34:26serhiy.storchakacreate