mirror of https://github.com/python/cpython
copysign shouldn't be declared as static in pymath.c
This commit is contained in:
parent
f5fd523981
commit
4beb89b9f7
|
@ -35,7 +35,7 @@ double hypot(double x, double y)
|
||||||
#endif /* HAVE_HYPOT */
|
#endif /* HAVE_HYPOT */
|
||||||
|
|
||||||
#ifndef HAVE_COPYSIGN
|
#ifndef HAVE_COPYSIGN
|
||||||
static double
|
double
|
||||||
copysign(double x, double y)
|
copysign(double x, double y)
|
||||||
{
|
{
|
||||||
/* use atan2 to distinguish -0. from 0. */
|
/* use atan2 to distinguish -0. from 0. */
|
||||||
|
|
Loading…
Reference in New Issue