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

numpy-svn@scip... numpy-svn@scip...
Wed Apr 23 19:58:40 CDT 2008


Author: charris
Date: 2008-04-23 19:58:38 -0500 (Wed, 23 Apr 2008)
New Revision: 5075

Modified:
   trunk/numpy/core/src/umathmodule.c.src
Log:
Add some section headings to the file.


Modified: trunk/numpy/core/src/umathmodule.c.src
===================================================================
--- trunk/numpy/core/src/umathmodule.c.src	2008-04-23 23:16:53 UTC (rev 5074)
+++ trunk/numpy/core/src/umathmodule.c.src	2008-04-24 00:58:38 UTC (rev 5075)
@@ -1,5 +1,10 @@
 /* -*- c -*- */
 
+/*
+ *****************************************************************************
+ **                            INCLUDES                                     **
+ *****************************************************************************
+ */
 #include "Python.h"
 #include "numpy/noprefix.h"
 #define _UMATHMODULE
@@ -8,6 +13,12 @@
 #include "config.h"
 #include <math.h>
 
+/*
+ *****************************************************************************
+ **                     BASIC MATH FUNCTIONS                                **
+ *****************************************************************************
+ */
+
 /* A whole slew of basic math functions are provided originally
    by Konrad Hinsen. */
 
@@ -455,6 +466,7 @@
    #c=l*17,f*17#
    #TYPE=LONGDOUBLE*17, FLOAT*17#
 */
+
 #ifndef HAVE_@TYPE@_FUNCS
 #ifdef @kind@@c@
 #undef @kind@@c@
@@ -595,7 +607,13 @@
 #endif
 
 
+/*
+ *****************************************************************************
+ **                           COMPLEX FUNCTIONS                             **
+ *****************************************************************************
+ */
 
+
 /* Don't pass structures between functions (only pointers) because how
    structures are passed is compiler dependent and could cause
    segfaults if ufuncobject.c is compiled with a different compiler
@@ -976,7 +994,13 @@
 
 /**end repeat**/
 
+/*
+ *****************************************************************************
+ **                             UFUNC LOOPS                                 **
+ *****************************************************************************
+ */
 
+
 /**begin repeat
 
    #TYPE=(BOOL, BYTE,UBYTE,SHORT,USHORT,INT,UINT,LONG,ULONG,LONGLONG,ULONGLONG,FLOAT,DOUBLE,LONGDOUBLE)*2#



More information about the Numpy-svn mailing list