[Python-ideas] Why no sign function?

cool-RR cool-rr at cool-rr.com
Mon Apr 26 23:12:02 CEST 2010


This was probably discussed a lot. Why is there no simple `sign` function in
Python, like in the math module or something? I mean one that tells you the
sign of a number.

Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100426/4e80bb9c/attachment.html>


More information about the Python-ideas mailing list