[Numpy-svn] r6414 - branches/coremath/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Feb 19 05:55:38 EST 2009


Author: cdavid
Date: 2009-02-19 04:55:31 -0600 (Thu, 19 Feb 2009)
New Revision: 6414

Modified:
   branches/coremath/numpy/core/src/_signbit.c
   branches/coremath/numpy/core/src/npy_math.c.src
Log:
fix syntax issues for signbit internal replacement.

Modified: branches/coremath/numpy/core/src/_signbit.c
===================================================================
--- branches/coremath/numpy/core/src/_signbit.c	2009-02-19 10:50:16 UTC (rev 6413)
+++ branches/coremath/numpy/core/src/_signbit.c	2009-02-19 10:55:31 UTC (rev 6414)
@@ -1,6 +1,6 @@
 /* Adapted from cephes */
 
-static int
+int
 _npy_signbit_d(double x)
 {
     union

Modified: branches/coremath/numpy/core/src/npy_math.c.src
===================================================================
--- branches/coremath/numpy/core/src/npy_math.c.src	2009-02-19 10:50:16 UTC (rev 6413)
+++ branches/coremath/numpy/core/src/npy_math.c.src	2009-02-19 10:55:31 UTC (rev 6414)
@@ -198,12 +198,12 @@
 #if !defined(HAVE_DECL_SIGNBIT)
 #include "_signbit.c"
 
-static int _npy_signbit_f (float x)
+int _npy_signbit_f (float x)
 {
-    return npy_signbit_d((double)x);
+    return _npy_signbit_d((double)x);
 }
 
-static int _npy_signbit_ld (long double x)
+int _npy_signbit_ld (long double x)
 {
     return _npy_signbit_d((double)x);
 }




More information about the Numpy-svn mailing list