[Numpy-svn] r6012 - trunk/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Nov 11 20:12:51 EST 2008


Author: charris
Date: 2008-11-11 19:12:43 -0600 (Tue, 11 Nov 2008)
New Revision: 6012

Modified:
   trunk/numpy/core/src/math_c99.inc.src
Log:
Add C99 prototypes.
Attempt to cure problems of SPARC Debian Etch.

Modified: trunk/numpy/core/src/math_c99.inc.src
===================================================================
--- trunk/numpy/core/src/math_c99.inc.src	2008-11-11 22:20:46 UTC (rev 6011)
+++ trunk/numpy/core/src/math_c99.inc.src	2008-11-12 01:12:43 UTC (rev 6012)
@@ -7,6 +7,37 @@
 
 /*
  *****************************************************************************
+ **                     C99 PROTOTYPES                                      **
+ *****************************************************************************
+ */
+
+/**begin repeat
+ * #type = float, double, longdouble#
+ * #c = f, ,l#
+*/
+
+/**begin repeat1
+ * #kind = sin,cos,tan,sinh,cosh,tanh,fabs,floor,ceil,rint,trunc,sqrt,log10,
+ *         log,exp,expm1,asin,acos,atan,asinh,acosh,atanh,log1p,exp2,log2#
+ */
+
+ at type@ @kind@@c@(@type@ x);
+
+/**end repeat1**/
+
+/**begin repeat1
+ * #kind = atan2,hypot,pow,fmod#
+ */
+
+ at type@ @kind@@c@(@type@ x, @type@ y)
+
+/**end repeat1**/
+
+ at type@ modf at c@(@type@ x, @type@ *iptr)
+
+/**end repeat**/
+/*
+ *****************************************************************************
  **                     BASIC MATH FUNCTIONS                                **
  *****************************************************************************
  */




More information about the Numpy-svn mailing list