How to represent the infinite ?

Cliff Wells logiplexsoftware at earthlink.net
Mon Jun 24 13:29:46 EDT 2002


On Sun, 23 Jun 2002 20:06:37 +0200
erreur wrote:

> Thanks.... excelent !!

Thanks for replying.  Sometimes when no one responds to the bits of code I post
I worry that perhaps people don't say anything because my code was just too
lame to comment on, but then I remember that it's really because I'm a total
<expletive/> and I feel better ;)


> "Cliff Wells" <logiplexsoftware at earthlink.net> wrote in message
> news:20020620.124436.1266235189.32516 at software1.logiplex.internal...
> > In article <mailman.1024600723.6989.python-list at python.org>, "Cliff Wells"
> > <logiplexsoftware at earthlink.net> wrote:
> >
> >
> >
> > > On Thu, 20 Jun 2002 17:02:33 +0200
> > > erreur wrote:
> > >
> > >> Will somebody have an idea, to represent the infinite one?  I have
> > >> variables to initialize with is +inf (or - inf).  To be sure that
> > >> later, all will be smaller (or larger) than my variables. I tried to
> > >> redefine the operators on an object.  It goes for Inf>10 but I do not
> > >> arrive for 10>Inf (because that takes > of Int).  --------------------
> > >> def __gt__(self, val):

[snip]

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308





More information about the Python-list mailing list