Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64585

Re: No overflow in variables?

From Christian Heimes <christian@python.org>
Subject Re: No overflow in variables?
Date 2014-01-23 10:14 +0100
References <dd6a72bf-b1c4-4868-9cfe-76dfac8b8787@googlegroups.com> <CAPTjJmqkSc+9O5XUWO6Zvm82eZ+853qgGugzA-Vngui4VPAQjw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5877.1390468486.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

No overflow in variables? Philip Red <filippo.biolcati@googlemail.com> - 2014-01-22 10:09 -0800
  Re: No overflow in variables? Larry Martell <larry.martell@gmail.com> - 2014-01-22 11:18 -0700
  Re:No overflow in variables? Dave Angel <davea@davea.name> - 2014-01-22 13:26 -0500
  Re: No overflow in variables? Philip Red <filippo.biolcati@googlemail.com> - 2014-01-22 10:32 -0800
  Re: No overflow in variables? Chris Angelico <rosuav@gmail.com> - 2014-01-23 05:26 +1100
    Re: No overflow in variables? Roy Smith <roy@panix.com> - 2014-01-22 15:55 -0500
    Re: No overflow in variables? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-01-23 11:22 +1300
  Re: No overflow in variables? Philip Red <filippo.biolcati@googlemail.com> - 2014-01-22 10:48 -0800
  Re: No overflow in variables? random832@fastmail.us - 2014-01-22 18:13 -0500
  Re: No overflow in variables? Christian Heimes <christian@python.org> - 2014-01-23 10:14 +0100
  Re: No overflow in variables? Chris Angelico <rosuav@gmail.com> - 2014-01-23 20:36 +1100

csiph-web