1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <m_pd.h> #include <math.h> #ifndef MAXFLOAT #define MAXFLOAT 1e18; #endif #define LOGTEN 2.302585092994 #if PD_FLOAT_PRECISION == 64 #define sinf sin #define cosf cos #define atanf atan #define atan2f atan2 #define sqrtf sqrt #define logf log #define expf exp #define fabsf fabs #define powf pow #endif