curious problem with large numbers
Sion Arrowsmith
siona at chiark.greenend.org.uk
Fri Apr 8 06:36:14 EDT 2005
Michael Spencer <mahs at telcopartners.com> wrote:
>Terry Reedy wrote:
>> "Chris Fonnesbeck" <fonnesbeck at gmail.com> wrote
>>>However, on Windows (have tried on Mac, Linux) I get the following
>>>behaviour:
>>>>>>inf = 1e10000
>>>>>>inf
>>>1.0
>> On my Windows machine with 2.2.1, I get exactly what you expected:
>>>>>1e10000
>> 1.#INF
>On my Windows machine, both 2.3.3 and 2.4 give the same (expected) result:
> >>> 1e10000
> 1.#INF
Likewise for me with 2.3.2 (W2K on a PIII). I'm not going to do a
cut and paste because it's exactly the same as everyone else's,
and anyway I'm typing this at my Linux machine.
--
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
More information about the Python-list
mailing list