projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f5a01
)
src/aubio_priv.h: add missing CEIL, rename TRUNC to ROUND, use FLOOR(x+.5) to avoid...
author
Paul Brossier
<piem@piem.org>
Fri, 11 Sep 2009 22:06:19 +0000
(
00:06
+0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 11 Sep 2009 22:06:19 +0000
(
00:06
+0200)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index
314a72a
..
ff43e4a
100644
(file)
--- a/
src/aubio_priv.h
+++ b/
src/aubio_priv.h
@@
-131,7
+131,8
@@
typedef enum {
#define LOG10 log10f
#define LOG logf
#define FLOOR floorf
-#define TRUNC truncf
+#define CEIL ceilf
+#define ROUND(x) FLOOR(x_.5)
/* aliases to complex.h functions */
#if !defined(HAVE_COMPLEX_H) || defined(WIN32)