From: Paul Brossier Date: Sat, 1 Dec 2007 21:58:04 +0000 (+0100) Subject: aubio_priv.h: add ISDENORMAL X-Git-Tag: bzr2git~412 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b6144dd1fbe06dd150c77adbd2de8689610ac09;p=aubio.git aubio_priv.h: add ISDENORMAL --- 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*/