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


Groups > comp.lang.python > #50800

Storing a very large number

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <hasitnm@lavabit.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.107
X-Spam-Level *
X-Spam-Evidence '*H*': 0.88; '*S*': 0.09; 'python.': 0.02; 'subject:number': 0.09; '(say': 0.16; 'number?': 0.16; 'advance.': 0.19; 'select': 0.22; 'header:User-Agent:1': 0.23; 'problem': 0.35; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'new': 0.61; 'relatively': 0.65; 'subject:very': 0.91; 'received:219': 0.95
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=pAoX9i3Tcm2WAPsbr+BYHiPdLU6NUfcXqsH5z4m3jVpn6V8WE/AU2pL7VDlG5Tx/DPOpxNhmv0LBMJuvOxeDhAynlP1XElWgO4Mw/i8wU8kP5r05OOQKTMzF6XlMtwb0TKlswXDj2cmmqx4kYfelEm6UChrpOeoKcwlOZGnPVYE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Antivirus-Status;
Date Thu, 18 Jul 2013 00:51:39 +0530
From Hasit Mistry <hasitnm@lavabit.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version 1.0
To python-list@python.org
Subject Storing a very large number
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Antivirus avast! (VPS 130717-1, 17-07-2013), Outbound message
X-Antivirus-Status Clean
X-Mailman-Approved-At Wed, 17 Jul 2013 21:40:25 +0200
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4810.1374090026.3114.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374090026 news.xs4all.nl 15939 [2001:888:2000:d::a6]:45287
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50800

Show key headers only | View raw


I came across a problem that requires me to store a very large number 
(say >10^100). How do I do it efficiently?
And also, how do I select a particular number (say 209th) from that very 
large number?
I am relatively new to Python.

Thank you in advance.

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


Thread

Storing a very large number Hasit Mistry <hasitnm@lavabit.com> - 2013-07-18 00:51 +0530
  Re: Storing a very large number Grant Edwards <invalid@invalid.invalid> - 2013-07-17 19:54 +0000

csiph-web