From e876da1b38221d8020d81b72926d2dee5c2bdc55 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Fri, 15 Feb 2008 12:43:13 +0000 Subject: - Fixed bugs in xtract_flatness(), or at least added necessary documentation and error checking to avoid problems - Added xtract_is_denormal() helper function and XTRACT_DENORMAL_FOUND return code - Replaced all instances of log, sqrt, exp etc. with respective floating point counterparts (logf etc.) - Added check for architecture endianness to configure script - Bug fix to PD example, now no longer crashes if no arguments are given - Minor documentation updates --- xtract/xtract_helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xtract/xtract_helper.h') diff --git a/xtract/xtract_helper.h b/xtract/xtract_helper.h index 645f1cd..ce0ae54 100644 --- a/xtract/xtract_helper.h +++ b/xtract/xtract_helper.h @@ -63,6 +63,9 @@ int xtract_windowed(const float *data, const int N, const void *argv, float *res */ int xtract_features_from_subframes(const float *data, const int N, const int feature, const void *argv, float *result); +/** \brief Test whether a number is denormal */ +inline int xtract_is_denormal(double const d); + /** @} */ #ifdef __cplusplus -- cgit v1.2.3