New submission from Antoine Pitrou: Z:\>c:\Python27\python.exe Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>> import math >>> math.copysign(0.0, float("nan")) -0.0 >>> ^Z
Z:\>c:\Python34\python.exe Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:24:06) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import math >>> math.copysign(0.0, float("nan")) 0.0 >>> ^Z ---------- components: Library (Lib), Windows messages: 228894 nosy: mark.dickinson, pitrou, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: math.copysign buggy with nan under Windows type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22590> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com