Message59165
Guido van Rossum wrote:
> Well, the Python API in the math module should always be called copysign(). :-)
>
> And what to do if neither is present? Are there any systems without it?
takes care of it. It's a macro to define a function which accepts two
floats and returns a float: FUNC2(funcname, func, docstring).
On Windows _copysign is always defined and on other systems we can use
HAVE_COPYSIGN. I added it to configure.in a while ago.
Christian |
|
Date |
User |
Action |
Args |
2008-01-03 22:03:31 | christian.heimes | set | spambayes_score: 0.0514914 -> 0.0514914 recipients:
+ christian.heimes, gvanrossum, mark.dickinson, Rhamphoryncus |
2008-01-03 22:03:31 | christian.heimes | link | issue1640 messages |
2008-01-03 22:03:31 | christian.heimes | create | |
|