On Thu, Jan 23, 2014 at 8:14 PM, Christian Heimes <christ...@python.org> wrote:
> On 22.01.2014 19:26, Chris Angelico wrote:
>> Internally, I believe CPython uses the GNU Multiprecision Library
>> (GMP), which gives an efficient representation and operation format,
>> scaling to infinity or thereabouts. You can go to any size of integer
>> you like without there being any difference. There's a cost to that
>> (even small integers are a bit slower to work with), but it's SO
>> helpful to be able to work with arbitrarily large numbers that it's
>> worth that cost.
>
> Small correction: Python isn't using GMP. Python uses its own
> implementation.

Okay, wasn't sure. I've seen others that use GMP (including Pike,
which can also use arbitrary-precision floats if you wish). Wrong in
the specifics, right in the concept. Thanks for the correction.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to