projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77a321c
)
src/aubio_priv.h: add macro for ATAN2
author
Paul Brossier
<piem@piem.org>
Sun, 11 Oct 2009 10:33:04 +0000
(12:33 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 11 Oct 2009 10:33:04 +0000
(12:33 +0200)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index
096828b
..
e4ebe5a
100644
(file)
--- a/
src/aubio_priv.h
+++ b/
src/aubio_priv.h
@@
-142,6
+142,7
@@
typedef enum {
#define LOG logf
#define FLOOR floorf
#define CEIL ceilf
#define LOG logf
#define FLOOR floorf
#define CEIL ceilf
+#define ATAN2 atan2f
#else
#define EXP exp
#define COS cos
#else
#define EXP exp
#define COS cos
@@
-153,6
+154,7
@@
typedef enum {
#define LOG log
#define FLOOR floor
#define CEIL ceil
#define LOG log
#define FLOOR floor
#define CEIL ceil
+#define ATAN2 atan2
#endif
#define ROUND(x) FLOOR(x+.5)
#endif
#define ROUND(x) FLOOR(x+.5)