projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/aubio_priv.h: add missing CEIL, rename TRUNC to ROUND, use FLOOR(x+.5) to avoid...
[aubio.git]
/
src
/
aubio_priv.h
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)