[ python-Feature Requests-829370 ] math.signum(int)

SourceForge.net noreply at sourceforge.net
Thu Jan 1 01:35:47 EST 2004


Feature Requests item #829370, was opened at 2003-10-23 21:44
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=829370&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Konrad Voelkel (gekonntde)
Assigned to: Nobody/Anonymous (nobody)
Summary: math.signum(int)

Initial Comment:
python needs a signum function,

def signum(self, int):
 if(int < 0): return -1;
 elif(int > 0): return 1;
 else: return int;

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-01-01 01:35

Message:
Logged In: YES 
user_id=80475

Closed due to lack of further interest or development.

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-11-28 12:56

Message:
Logged In: YES 
user_id=80475

With the use cases being infrequent and the pure python
version being so easy, I think we ought to pass on this one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=829370&group_id=5470



More information about the Python-bugs-list mailing list