How to represent the infinite ?

erreur dev at newdeal.ch
Sun Jun 23 14:06:37 EDT 2002


Thanks.... excelent !!


"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):
> >>
> >>     return 1
> >> --------------------
>
>
> > Hm, for some reason, my last two posts on this thread didn't seem to go
> > through...  one more try (with a couple of little enhancements):
>
> Odd, the newsgroup -> mailing list transfer must be really slow (or down)
> today, I pulled up Pan and lo, my posts are there, they just haven't made
> it to the mailing list yet (after almost 2 hours).
>
> Or maybe I accidentally killfiled myself  ;)





More information about the Python-list mailing list