summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-04-24 00:58:38 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-04-24 00:58:38 +0000
commit8e4c9e125cbe2c12380dffb7fa13d3432b9f7e35 (patch)
treec49ed1a51dcacd13bbeb19f96b61130329817157 /numpy/core
parent3e1ebbe5c6f41f27349481f3d9e5735ecd8fe5a4 (diff)
downloadnumpy-8e4c9e125cbe2c12380dffb7fa13d3432b9f7e35.tar.gz
Add some section headings to the file.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/src/umathmodule.c.src24
1 files changed, 24 insertions, 0 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src
index a6e9e799f..a8c432f6c 100644
--- a/numpy/core/src/umathmodule.c.src
+++ b/numpy/core/src/umathmodule.c.src
@@ -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 @@ longdouble radiansl(longdouble x) {
#c=l*17,f*17#
#TYPE=LONGDOUBLE*17, FLOAT*17#
*/
+
#ifndef HAVE_@TYPE@_FUNCS
#ifdef @kind@@c@
#undef @kind@@c@
@@ -595,6 +607,12 @@ static float expm1f(float x)
#endif
+/*
+ *****************************************************************************
+ ** COMPLEX FUNCTIONS **
+ *****************************************************************************
+ */
+
/* Don't pass structures between functions (only pointers) because how
structures are passed is compiler dependent and could cause
@@ -976,6 +994,12 @@ nc_tanh@c@(c@typ@ *x, c@typ@ *r)
/**end repeat**/
+/*
+ *****************************************************************************
+ ** UFUNC LOOPS **
+ *****************************************************************************
+ */
+
/**begin repeat