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


Groups > comp.lang.python > #36386

Re: Calculate Big Number

References <CAFLxTvn6siPpQ-QJ3HHFgOmV9vshR+CiXoqSGsP_F3foaB3cZQ@mail.gmail.com>
Date 2013-01-08 00:52 +0000
Subject Re: Calculate Big Number
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.245.1357606362.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 8 January 2013 00:44, Nac Temha <naccttemha@gmail.com> wrote:
> Hello,
> How to quickly calculate large numbers. For example
>>>> (10**25) * (2**50)
> 11258999068426240000000000000000000000000L

I just tested that line in the interpreter and it ran so quickly it
seemed instantaneous (maybe my computer is faster than yours).

Perhaps you could provide more of an explanation about what isn't fast
enough and why?


Oscar

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


Thread

Re: Calculate Big Number Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-01-08 00:52 +0000

csiph-web