diff src/scalar.c @ 85:89b516adb5df

Checked ANSI C89 compliance (basically a few ifndefs for the C99 math functions: powf, roundf etc). Added a few PD examples/tests.
author Jamie Bullock <jamie@postlude.co.uk>
date Mon, 03 Sep 2007 14:31:58 +0000
parents 7c8edb20f740
children 0df00d5c9269
line wrap: on
line diff
--- a/src/scalar.c	Sun Sep 02 14:28:00 2007 +0000
+++ b/src/scalar.c	Mon Sep 03 14:31:58 2007 +0000
@@ -28,6 +28,14 @@
 #include <string.h>
 #include <stdio.h>
 
+#ifndef powf
+    #define powf pow
+#endif
+
+#ifndef expf
+    #define expf exp
+#endif
+
 int xtract_mean(const float *data, const int N, const void *argv, float *result){
 
     int n = N;