From 2b6144dd1fbe06dd150c77adbd2de8689610ac09 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 1 Dec 2007 22:58:04 +0100 Subject: [PATCH] aubio_priv.h: add ISDENORMAL --- src/aubio_priv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aubio_priv.h b/src/aubio_priv.h index 299d24ca..314a72af 100644 --- 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*/ -- 2.26.2