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


Groups > comp.lang.python > #64585

Re: No overflow in variables?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!border2.nntp.ams2.giganews.com!backlog4.nntp.ams3.giganews.com!backlog4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1390468486; bh=u1aZ2dKJBcXdDRegiZ//J7SEuDiYtKtweIrRG2pWmc8=; h=To:From:Subject:Date:References:In-Reply-To:From; b=p2YG4PVlTij32c688BNdLB2W8w5nLIeCFTKxvQd5JaJtGbIoR60B3lAN19Nh7Jgm7 XACh01Ui7ZmogNmTyTqa5S08WUnVscU36qW3mHAemf9Gj+Gsvh9vigmdp2dVyGiRFY XuJKDu/vAS2hvmzJ1hEZ57G2vY7Ub0kZuxbO6s78=
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(even': 0.05; 'cpython': 0.05; 'scaling': 0.07; 'integers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'arbitrarily': 0.16; 'from:name:christian heimes': 0.16; 'infinity': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thereabouts.': 0.16; 'from:addr:python.org': 0.16; 'wrote:': 0.18; 'library': 0.18; 'bit': 0.19; 'header:User-Agent:1': 0.23; 'format,': 0.24; 'integer': 0.24; 'helpful': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'gives': 0.31; 'but': 0.35; 'there': 0.35; 'subject:?': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'cost.': 0.60; 'numbers': 0.61; 'worth': 0.66; 'believe': 0.68; 'difference.': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Christian Heimes <christian@python.org>
Subject Re: No overflow in variables?
Date Thu, 23 Jan 2014 10:14:34 +0100
References <dd6a72bf-b1c4-4868-9cfe-76dfac8b8787@googlegroups.com> <CAPTjJmqkSc+9O5XUWO6Zvm82eZ+853qgGugzA-Vngui4VPAQjw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 212.12.46.3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <CAPTjJmqkSc+9O5XUWO6Zvm82eZ+853qgGugzA-Vngui4VPAQjw@mail.gmail.com>
X-Enigmail-Version 1.5.2
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5877.1390468486.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390468486 news.xs4all.nl 2934 [2001:888:2000:d::a6]:35023
X-Complaints-To abuse@xs4all.nl
X-Original-Bytes 3743
Xref csiph.com comp.lang.python:64585

Show key headers only | 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