
report at bugs
Nov 5, 2009, 5:36 AM
Post #5 of 10
(135 views)
Permalink
|
|
[issue7251] Mark expected failures of test_math, test_cmath and test_round as such.
[In reply to]
|
|
Mark Dickinson <dickinsm[at]gmail.com> added the comment: Skip, that looks like a float.hex failure. I'm not sure what the underlying problem is here; my best guess is that it's something to do with the copysign function. Please could you tell me what the Solaris results are for the following interactive session? (Results shown are on OS X 10.5.) Python 2.6.4+ (release26-maint:76116, Nov 5 2009, 13:30:59) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import math >>> (-0.0).hex() '-0x0.0p+0' >>> float.fromhex((-0.0).hex()) -0.0 >>> math.copysign(1.0, -0.0) -1.0 Also, is HAVE_COPYSIGN defined in pyconfig.h? ---------- _______________________________________ Python tracker <report[at]bugs.python.org> <http://bugs.python.org/issue7251> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|