summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/log10/clog10a.c
diff options
context:
space:
mode:
authorjofret2007-09-11 16:02:09 +0000
committerjofret2007-09-11 16:02:09 +0000
commita6e5fe5da63ed2dd8db74504075abacd2d557754 (patch)
tree6b42401bfecf6fb89a170862b184de119eebc1ee /src/elementaryFunctions/log10/clog10a.c
parent110650613fca7f68c4e683c7fb1b4cc0eb9279ee (diff)
downloadscilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.gz
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.bz2
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.zip
End of prototyping all elementary functions.
Just need some code (wait for an internship).
Diffstat (limited to 'src/elementaryFunctions/log10/clog10a.c')
-rw-r--r--src/elementaryFunctions/log10/clog10a.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/log10/clog10a.c b/src/elementaryFunctions/log10/clog10a.c
new file mode 100644
index 00000000..f38c2651
--- /dev/null
+++ b/src/elementaryFunctions/log10/clog10a.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** clog10a.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Sep 6 16:23:40 2007 bruno
+** Last update Fri Sep 7 10:49:01 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "log10.h"
+
+void clog10a(floatComplex* in, floatComplex* out, int size) {
+ int i = 0;
+ for (i = 0 ; i < size ; ++i) {
+ out[i] = clog10s(in[i]);
+ }
+}