From 8e4c9e125cbe2c12380dffb7fa13d3432b9f7e35 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 24 Apr 2008 00:58:38 +0000 Subject: Add some section headings to the file. --- numpy/core/src/umathmodule.c.src | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'numpy/core') 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 +/* + ***************************************************************************** + ** 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 -- cgit v1.2.1