shithub: aubio

Download patch

ref: 76fc277f4bb19ac2291c1114a2b82b3f5183d9f9
parent: 77a321cfb074c0b478402d60e7286378518deab9
author: Paul Brossier <piem@piem.org>
date: Sun Oct 11 08:33:04 EDT 2009

src/aubio_priv.h: add macro for ATAN2

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -142,6 +142,7 @@
 #define LOG        logf
 #define FLOOR      floorf
 #define CEIL       ceilf
+#define ATAN2      atan2f
 #else
 #define EXP        exp
 #define COS        cos
@@ -153,6 +154,7 @@
 #define LOG        log
 #define FLOOR      floor
 #define CEIL       ceil
+#define ATAN2      atan2
 #endif
 #define ROUND(x)   FLOOR(x+.5)