summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/log10
diff options
context:
space:
mode:
authorjofret2007-10-22 15:26:16 +0000
committerjofret2007-10-22 15:26:16 +0000
commit9abdd47800ebd9b2c45f078338e9adabecf74f5a (patch)
tree07ee1c1156c01d5e92b9dee11d6dd00684e6b004 /src/elementaryFunctions/log10
parent1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60 (diff)
downloadscilab2c-9abdd47800ebd9b2c45f078338e9adabecf74f5a.tar.gz
scilab2c-9abdd47800ebd9b2c45f078338e9adabecf74f5a.tar.bz2
scilab2c-9abdd47800ebd9b2c45f078338e9adabecf74f5a.zip
Moving array functions prototype and add some C99 Compliance
Diffstat (limited to 'src/elementaryFunctions/log10')
-rw-r--r--src/elementaryFunctions/log10/clog10a.c4
-rw-r--r--src/elementaryFunctions/log10/dlog10a.c4
-rw-r--r--src/elementaryFunctions/log10/slog10a.c4
-rw-r--r--src/elementaryFunctions/log10/zlog10a.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/elementaryFunctions/log10/clog10a.c b/src/elementaryFunctions/log10/clog10a.c
index f38c2651..2228c869 100644
--- a/src/elementaryFunctions/log10/clog10a.c
+++ b/src/elementaryFunctions/log10/clog10a.c
@@ -5,14 +5,14 @@
** 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
+** Last update Mon Oct 22 09:52:46 2007 bruno
**
** Copyright INRIA 2007
*/
#include "log10.h"
-void clog10a(floatComplex* in, floatComplex* out, int size) {
+void clog10a(floatComplex* in, int size, floatComplex* out) {
int i = 0;
for (i = 0 ; i < size ; ++i) {
out[i] = clog10s(in[i]);
diff --git a/src/elementaryFunctions/log10/dlog10a.c b/src/elementaryFunctions/log10/dlog10a.c
index 14ceb067..0eadbc52 100644
--- a/src/elementaryFunctions/log10/dlog10a.c
+++ b/src/elementaryFunctions/log10/dlog10a.c
@@ -5,14 +5,14 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Thu Sep 6 16:23:09 2007 bruno
-** Last update Fri Sep 7 10:43:49 2007 bruno
+** Last update Mon Oct 22 09:52:35 2007 bruno
**
** Copyright INRIA 2007
*/
#include "log10.h"
-void dlog10a(double* in, double* out, int size) {
+void dlog10a(double* in, int size, double* out) {
int i = 0;
for (i = 0 ; i < size ; ++i) {
out[i] = dlog10s(in[i]);
diff --git a/src/elementaryFunctions/log10/slog10a.c b/src/elementaryFunctions/log10/slog10a.c
index e161d8d0..7eac52e7 100644
--- a/src/elementaryFunctions/log10/slog10a.c
+++ b/src/elementaryFunctions/log10/slog10a.c
@@ -5,14 +5,14 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Thu Sep 6 16:22:18 2007 bruno
-** Last update Fri Sep 7 10:42:46 2007 bruno
+** Last update Mon Oct 22 09:52:23 2007 bruno
**
** Copyright INRIA 2007
*/
#include "log10.h"
-void slog10a(float* in, float* out, int size) {
+void slog10a(float* in, int size, float* out) {
int i = 0;
for (i = 0 ; i < size ; ++i) {
out[i] = slog10s(in[i]);
diff --git a/src/elementaryFunctions/log10/zlog10a.c b/src/elementaryFunctions/log10/zlog10a.c
index c4036c81..789f8f98 100644
--- a/src/elementaryFunctions/log10/zlog10a.c
+++ b/src/elementaryFunctions/log10/zlog10a.c
@@ -5,14 +5,14 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Thu Sep 6 16:21:57 2007 bruno
-** Last update Fri Sep 7 10:50:59 2007 bruno
+** Last update Mon Oct 22 09:52:13 2007 bruno
**
** Copyright INRIA 2007
*/
#include "log10.h"
-void zlog10a(doubleComplex* in, doubleComplex* out, int size) {
+void zlog10a(doubleComplex* in, int size, doubleComplex* out) {
int i = 0;
for (i = 0 ; i < size ; ++i) {
out[i] = zlog10s(in[i]);