[issue27739] add math.sign/signum

Serhiy Storchaka report at bugs.python.org
Thu Aug 11 14:02:32 EDT 2016


Serhiy Storchaka added the comment:

copysign() is part of the standard C maths library (that is why it was added to the math module).

sgn/sign/signum was used in old languages that didn't have copysign() (Basic, Pascal, etc).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27739>
_______________________________________


More information about the Python-bugs-list mailing list