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

numpy-svn@scip... numpy-svn@scip...
Tue Nov 11 19:12:51 CST 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#
+ */
+
+@type@ @kind@@c@(@type@ x);
+
+/**end repeat1**/
+
+/**begin repeat1
+ * #kind = atan2,hypot,pow,fmod#
+ */
+
+@type@ @kind@@c@(@type@ x, @type@ y)
+
+/**end repeat1**/
+
+@type@ modf@c@(@type@ x, @type@ *iptr)
+
+/**end repeat**/
+/*
+ *****************************************************************************
  **                     BASIC MATH FUNCTIONS                                **
  *****************************************************************************
  */



More information about the Numpy-svn mailing list