diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2013-01-07 16:27:15 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2013-01-07 16:39:29 +0000 |
commit | 144e7f8668166ee1779ad304cc5ac94d8e525529 (patch) | |
tree | 089b2bbbcf15ee8bdde390a4d270e4812e7e2228 /xtract/xtract_helper.h | |
parent | 0f46938156dedf13032bdb1fc914a63d46bae558 (diff) | |
download | LibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.tar.gz LibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.tar.bz2 LibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.zip |
added Ooura implementation to repository
Diffstat (limited to 'xtract/xtract_helper.h')
-rw-r--r-- | xtract/xtract_helper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xtract/xtract_helper.h b/xtract/xtract_helper.h index a77cf5b..52851c1 100644 --- a/xtract/xtract_helper.h +++ b/xtract/xtract_helper.h @@ -27,6 +27,8 @@ extern "C" { #endif +#include <stdbool.h> + /** * \defgroup helper helper functions * @@ -66,6 +68,9 @@ int xtract_features_from_subframes(const float *data, const int N, const int fea /** \brief Test whether a number is denormal */ int xtract_is_denormal(double const d); +/** \brief Test whether a number is a power of two */ +bool xtract_is_poweroftwo(unsigned int x); + /** @} */ #ifdef __cplusplus |