[issue1640] Enhancements for mathmodule
Christian Heimes
report at bugs.python.org
Thu Jan 3 21:42:19 CET 2008
Christian Heimes added the comment:
Guido van Rossum wrote:
> Good idea. Since you seem to like providing patches, can you create
> one for math.copysign()?
Don't forget it's copysign() on Unix but _copysign() on Windows.
#if defined(MS_WINDOWS) || defined(HAVE_COPYSIGN)
#ifdef MS_WINDOWS
FUNC2(copysign, _copysign,
#else
FUNC2(copysign, copysign,
#endif
"doc");
#endif
should work on all systems.
Christian
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1640>
__________________________________
More information about the Python-bugs-list
mailing list