From a6e5fe5da63ed2dd8db74504075abacd2d557754 Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 11 Sep 2007 16:02:09 +0000 Subject: End of prototyping all elementary functions. Just need some code (wait for an internship). --- src/elementaryFunctions/log10/clog10a.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/elementaryFunctions/log10/clog10a.c (limited to 'src/elementaryFunctions/log10/clog10a.c') 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 +** +** 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]); + } +} -- cgit