How to represent the infinite ?
huaiyu at gauss.almadan.ibm.com
Thu Jun 20 22:11:25 CEST 2002
Christophe Delord <christophe.delord at free.fr> wrote:
[regarding 1e1000 giving inf]
>With Python 2.2 and Linux it works. The example I gave is a copy-paste from IDLE. It also works with my Python 1.5.2 and 2.3 (I'm under Linux on an Intel processor)
Does 1e200**2 also work for you out of the box? I had to get rid of the
artificial check for overflow in the source to really use inf in
computations. I don't remember if 1e1000 works on my box without patch.
More information about the Python-list