aubio_priv.h: add ISDENORMAL
authorPaul Brossier <piem@piem.org>
Sat, 1 Dec 2007 21:58:04 +0000 (22:58 +0100)
committerPaul Brossier <piem@piem.org>
Sat, 1 Dec 2007 21:58:04 +0000 (22:58 +0100)
src/aubio_priv.h

index 299d24c..314a72a 100644 (file)
@@ -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*/