Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Working with the set of real numbers Date: Fri, 14 Feb 2014 18:26:03 +1300 Lines: 12 Message-ID: References: <8e4c1ab1-e65d-483f-ad9d-6933ae2052c3@googlegroups.com> <7cc8f49d-a4c7-48c2-a0af-ac58c847d794@googlegroups.com> <71e578f8-0d23-4b8e-b9f2-b987bdc9c01d@googlegroups.com> <85r478bv99.fsf_-_@benfinney.id.au> <85ioskbtfm.fsf@benfinney.id.au> <85eh38bq5z.fsf@benfinney.id.au> <8761okcx8z.fsf@elektro.pacujo.net> <87txc4bers.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net FqtKV6XVdK2mMmgrgS0t+A89uAMduxPZT7pqM+WfLzWrqT6E/y Cancel-Lock: sha1:YdFJNzXFD47U9ldnw/I9yN0Z62c= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: Xref: csiph.com comp.lang.python:66283 Dave Angel wrote: > Actually, the particular example you use can be done. When > printing the infinite sum of two infinite decimal streams, you > can simply hold back whenever you get one or more nines. But you only have a finite amount of space for keeping track of how many nines you've seen, so there will be some inputs with more nines than you can handle. (Infinitely many such inputs, in fact!) -- Greg