Message59166
| Author |
gvanrossum |
| Recipients |
Rhamphoryncus, christian.heimes, gvanrossum, mark.dickinson |
| Date |
2008年01月03日.22:04:28 |
| SpamBayes Score |
0.0036020868 |
| Marked as misclassified |
No |
| Message-id |
<ca471dc20801031404k7c9d2fc1rd7b36bc184c250dc@mail.gmail.com> |
| In-reply-to |
<477D5BAF.201@cheimes.de> |
| Content |
OK, just check it in then, but do add docs!
On Jan 3, 2008 2:03 PM, Christian Heimes <report@bugs.python.org> wrote:
>
> Christian Heimes added the comment:
>
> 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
>
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1640>
> __________________________________
> |
|