aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 18:56:30 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 18:56:30 +0000
commitb857caf9dae08ba442b22c670db775fcd947a569 (patch)
treee26cf15cdded617cc0475433dc7d76816342a7aa /src
parent6632a6c9dcb108d33393e42f61f8f18a05973668 (diff)
moved "include <math.h>" into zexy.h
svn path=/trunk/externals/zexy/; revision=3150
Diffstat (limited to 'src')
-rw-r--r--src/avg~.c1
-rw-r--r--src/envrms~.c1
-rw-r--r--src/length.c1
-rw-r--r--src/limiter~.c1
-rw-r--r--src/prime.c1
-rw-r--r--src/tavg~.c1
-rw-r--r--src/unpack~.c1
-rw-r--r--src/wrap.c1
-rw-r--r--src/z_sigbin.c1
-rw-r--r--src/zexy.h5
10 files changed, 3 insertions, 11 deletions
diff --git a/src/avg~.c b/src/avg~.c
index d708852..3cb1494 100644
--- a/src/avg~.c
+++ b/src/avg~.c
@@ -15,7 +15,6 @@
******************************************************/
#include "zexy.h"
-#include <math.h>
/* ------------------------ average~ ----------------------------- */
diff --git a/src/envrms~.c b/src/envrms~.c
index e400743..64ed784 100644
--- a/src/envrms~.c
+++ b/src/envrms~.c
@@ -19,7 +19,6 @@
/* i found env~+dbtorms most inconvenient (and expensive...) */
#include "zexy.h"
-#include <math.h>
#define MAXOVERLAP 10
#define MAXVSTAKEN 64
diff --git a/src/length.c b/src/length.c
index bc35039..9012abc 100644
--- a/src/length.c
+++ b/src/length.c
@@ -17,7 +17,6 @@
#include "zexy.h"
-#include <math.h>
static t_class *length_class;
diff --git a/src/limiter~.c b/src/limiter~.c
index eb74347..ea610c9 100644
--- a/src/limiter~.c
+++ b/src/limiter~.c
@@ -39,7 +39,6 @@
#define COMPRESS 2
#include "zexy.h"
-#include <math.h>
#define LN2 .69314718056
#define SINC1 .822462987
diff --git a/src/prime.c b/src/prime.c
index 80903eb..339582b 100644
--- a/src/prime.c
+++ b/src/prime.c
@@ -17,7 +17,6 @@
/* get the n-th prime number */
#include "zexy.h"
-#include <math.h>
static t_class *prime_class;
diff --git a/src/tavg~.c b/src/tavg~.c
index 4896c0d..3d054aa 100644
--- a/src/tavg~.c
+++ b/src/tavg~.c
@@ -15,7 +15,6 @@
******************************************************/
#include "zexy.h"
-#include <math.h>
/* triggered average :: arithmetic mean between last and current BANG */
diff --git a/src/unpack~.c b/src/unpack~.c
index c152b8c..124d0f9 100644
--- a/src/unpack~.c
+++ b/src/unpack~.c
@@ -23,7 +23,6 @@
#include "zexy.h"
-#include <math.h>
static t_class *sigunpack_class;
diff --git a/src/wrap.c b/src/wrap.c
index ec08801..b626b4c 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -17,7 +17,6 @@
/* wrap floats between to limits */
#include "zexy.h"
-#include <math.h>
static t_class *wrap_class;
diff --git a/src/z_sigbin.c b/src/z_sigbin.c
index f3ca3d9..61f67d6 100644
--- a/src/z_sigbin.c
+++ b/src/z_sigbin.c
@@ -21,7 +21,6 @@
*/
#include "zexy.h"
-#include <math.h>
typedef struct _misc
{
diff --git a/src/zexy.h b/src/zexy.h
index cb651e9..784f0c0 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -36,6 +36,7 @@
#endif
#include "m_pd.h"
+#include <math.h>
#define VERSION "2.0"
@@ -46,8 +47,8 @@
# pragma warning( disable : 4305 )
# define HEARTSYMBOL 3
# define STATIC_INLINE
-//# define sqrtf sqrt
-//# define fabsf fabs
+# define sqrtf sqrt
+# define fabsf fabs
#else
# define HEARTSYMBOL 169
# define STATIC_INLINE static