diff options
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/umathmodule.c.src | 24 |
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 |