fsolve() from scipy crashes python on windows

2006-06-06 Thread Vedran Furač
state), scipy 0.4.8/0.4.9, windows xp Regards, Vedran Furač -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange result with math.atan2()

2006-05-02 Thread Vedran Furač
0 is integer in python, and I need a float. Regards, Vedran Furač -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange result with math.atan2()

2006-05-02 Thread Vedran Furač
Ben Caradoc-Davies wrote: > Vedran Furač wrote: >> I think that this results must be the same: >> In [3]: math.atan2(-0.0,-1) >> Out[3]: -3.1415926535897931 >> In [4]: math.atan2(-0,-1) >> Out[4]: 3.1415926535897931 > > -0 is converted to 0, then to 0.

Strange result with math.atan2()

2006-05-02 Thread Vedran Furač
I think that this results must be the same: In [3]: math.atan2(-0.0,-1) Out[3]: -3.1415926535897931 In [4]: math.atan2(-0,-1) Out[4]: 3.1415926535897931 In [5]: -0 == -0.0 Out[5]: True This is python 2.4.4c0 on Debian GNU/Linux. Regards, Vedran Furač -- http://mail.python.org/mailman