New submission from Marcos Donolo <mdon...@vt.edu>: I am not getting the expected result for the ** operator on windows, python 2.6 I do... a=float('nan') b=a*a then b is nan which is right but if I do b = a**2 I get. Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: (33, 'Domain error')
If I do a**2 on ubuntu, python 2.6 I get nan again. ---------- components: Interpreter Core messages: 96523 nosy: mdon...@vt.edu, tim_one severity: normal status: open title: float('nan')**2 != nan. float('nan')**2 error 33 on windows type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7534> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com