Since Python 3 there's no upper limit on the size of an int. I'd like to deal with huge ints of 150+ decimal digits.
This is far larger than a unsigned long long
is guaranteed to be, so I don't think I can rely on PyLong_AsLongLong
and manipulate that.
How can I perform mathematical operations on such large ints that get passed to my C extension's methods?