Message59165
| Author |
christian.heimes |
| Recipients |
Rhamphoryncus, christian.heimes, gvanrossum, mark.dickinson |
| Date |
2008年01月03日.22:03:31 |
| SpamBayes Score |
0.051491357 |
| Marked as misclassified |
No |
| Message-id |
<477D5BAF.201@cheimes.de> |
| In-reply-to |
<ca471dc20801031250s6c56410en31164e06d8141a56@mail.gmail.com> |
| Content |
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 |
|