Mercurial > hg > vamp-plugin-sdk
comparison examples/SpectralCentroid.cpp @ 290:c97e70ed5abc
* Doc updates, copyright updates, etc., in preparation for 2.1 release
author | cannam |
---|---|
date | Mon, 21 Sep 2009 09:33:05 +0000 |
parents | 91574fc544db |
children | 7d59dd1ba5de |
comparison
equal
deleted
inserted
replaced
289:3e5ab1c7ea8c | 290:c97e70ed5abc |
---|---|
42 using std::endl; | 42 using std::endl; |
43 | 43 |
44 #include <math.h> | 44 #include <math.h> |
45 | 45 |
46 #ifdef __SUNPRO_CC | 46 #ifdef __SUNPRO_CC |
47 #include <sunmath.h> | 47 #include <ieeefp.h> |
48 #define isinf(x) (!finite(x)) | |
48 #endif | 49 #endif |
49 | 50 |
50 #ifdef WIN32 | 51 #ifdef WIN32 |
51 #define isnan(x) false | 52 #define isnan(x) false |
52 #define isinf(x) false | 53 #define isinf(x) false |