[issue1640] Enhancements for mathmodule

Guido van Rossum report at bugs.python.org
Thu Jan 3 21:35:13 CET 2008


Guido van Rossum added the comment:

> Why not implement copysign?  It's a standard, familiar function with well-
> documented meaning all over the web, and it can easily be used to create
> whatever sign test is necessary, letting the user decide what results
> (s)he wants for +/-0, +/-nan, etc.

Good idea. Since you seem to like providing patches, can you create
one for math.copysign()?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1640>
__________________________________


More information about the Python-bugs-list mailing list