From 144e7f8668166ee1779ad304cc5ac94d8e525529 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 7 Jan 2013 16:27:15 +0000 Subject: added Ooura implementation to repository --- xtract/xtract_helper.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xtract/xtract_helper.h') 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 + /** * \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 -- cgit v1.2.3