[docs] [issue12211] math.copysign must keep object type.
umedoblock
report at bugs.python.org
Sun Jun 5 03:38:20 CEST 2011
umedoblock <umedoblock at gmail.com> added the comment:
I made the patch.
But it cannot pass testCopysign().
math.copysign(1, -0.)
returns 1.
I hope to return -1.
But I don't know how to realize -0. as negative value.
Please help me.
----------
components: +Library (Lib) -Documentation
keywords: +patch
versions: -Python 2.7, Python 3.3
Added file: http://bugs.python.org/file22249/math_copysign.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12211>
_______________________________________
More information about the docs
mailing list