Frank <frank.breitl...@gmx.de> added the comment:

Mark, https://en.wikipedia.org/wiki/Signum_function or elementary math books 
tell us that this function is called signum, sign or sgn.
A library should adopt this standard for the same reason we don't want a 
ComputeTheSine or calcsin, which would be very confusing.

As we learn from repeated discussions people want to use this signum function, 
no matter we can imagine this or not and no matter whether that functionality 
is hidden somewhere else.

Since we are talking about not more than 5 lines of code, I don't see any 
reason not to have it. If there are some please let us know.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue829370>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to