FAQ
...i've got different results on linux / windows box
with complex nums, why?

linux:
print (2.83527944266e+184-3.10413674648e+186j) ** 2
(nan+nanj)

...m$ win:
print (2.83527944266e+184-3.10413674648e+186j) ** 2
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OverflowError: complex exponentiaion

system config is:

linux:
(Python 2.3 (#1, Aug 26 2003, 15:53:29)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Redhat 9, 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 GNU/Linux)

windows:
(Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on
win32
Microsoft Windows XP Home Edition)

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedAug 30, '03 at 8:32p
activeAug 30, '03 at 11:26p
posts2
users2
websitepython.org

2 users in discussion

Terry Reedy: 1 post Mirek Rusin: 1 post

People

Translate

site design / logo © 2022 Grokbase