Terry Reedy wrote:
"Chris Fonnesbeck" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

However, on Windows (have tried on Mac, Linux) I get the following behaviour:


inf = 1e10000
inf

1.0

while I would have expected:

1.#INF


On my Windows machine with 2.2.1, I get exactly what you expected:

1e10000

1.#INF

inf=1e10000
inf

1.#INF

If you get wrong behavior on a later version, then a bug has been introduced somewhere, even perhaps in VC 7, used for 2.4.

Terry J. Reedy



On my Windows machine, both 2.3.3 and 2.4 give the same (expected) result:
 >>> 1e10000
 1.#INF

Michael

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to