aboutsummaryrefslogtreecommitdiff
path: root/xtract/xtract_helper.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2008-02-15 12:43:13 +0000
committerJamie Bullock <jamie@postlude.co.uk>2008-02-15 12:43:13 +0000
commite876da1b38221d8020d81b72926d2dee5c2bdc55 (patch)
tree5795d6dca0e668a43298f1099a61f19831f419f7 /xtract/xtract_helper.h
parent24738b0d1371876dc18cb21b516b3e43984e6dbc (diff)
downloadLibXtract-e876da1b38221d8020d81b72926d2dee5c2bdc55.tar.gz
LibXtract-e876da1b38221d8020d81b72926d2dee5c2bdc55.tar.bz2
LibXtract-e876da1b38221d8020d81b72926d2dee5c2bdc55.zip
- 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
Diffstat (limited to 'xtract/xtract_helper.h')
-rw-r--r--xtract/xtract_helper.h3
1 files changed, 3 insertions, 0 deletions
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