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


Groups > comp.lang.python > #52467

Re: Question about function failing with large number

References <520A2295.5040605@gmail.com> <CAPTjJmp3UnLpHwkg3xnHHYdj+GFmATi6FatZh=0KOez2OK5Hqw@mail.gmail.com> <520A51E2.8020908@mrabarnett.plus.com>
Date 2013-08-13 18:01 +0100
Subject Re: Question about function failing with large number
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.543.1376413309.1251.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Aug 13, 2013 at 4:33 PM, MRAB <python@mrabarnett.plus.com> wrote:
> Here's a way to calculate the integer square root:

Yes, but the actual value of the square root isn't needed. All that's
needed is to stop the loop once the sqrt is reached.

ChrisA

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


Thread

Re: Question about function failing with large number Chris Angelico <rosuav@gmail.com> - 2013-08-13 18:01 +0100

csiph-web