projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658cb41
)
aubio_priv.h: add ISDENORMAL
author
Paul Brossier
<piem@piem.org>
Sat, 1 Dec 2007 21:58:04 +0000
(22:58 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 1 Dec 2007 21:58:04 +0000
(22:58 +0100)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index 299d24ca2baba7b4d4b871f5ed00da2fc69b4a5a..314a72afcdb4c5488a82008a7c5feb06f4bfccfb 100644
(file)
--- a/
src/aubio_priv.h
+++ b/
src/aubio_priv.h
@@
-169,6
+169,8
@@
typedef enum {
#define ELEM_SWAP(a,b) { register smpl_t t=(a);(a)=(b);(b)=t; }
+#define ISDENORMAL(f) f < 1.e-37
+
#define UNUSED __attribute__((unused))
#endif/*_AUBIO_PRIV_H*/