From bdd5b73b966178c4ddad8d331d080e244641b218 Mon Sep 17 00:00:00 2001
From: imushir
Date: Fri, 27 Nov 2015 15:46:30 +0530
Subject: added c files for u8 u16 i8 i16

---
 src/c/operations/division/cldiva.c    |  3 ++-
 src/c/operations/division/cldiva.c~   | 22 ++++++++++++++++++++++
 src/c/operations/division/crdiva.c    |  3 ++-
 src/c/operations/division/crdiva.c~   | 22 ++++++++++++++++++++++
 src/c/operations/division/i16ldiva.c  | 21 +++++++++++++++++++++
 src/c/operations/division/i16ldiva.c~ | 21 +++++++++++++++++++++
 src/c/operations/division/i16rdiva.c  | 21 +++++++++++++++++++++
 src/c/operations/division/i16rdiva.c~ | 21 +++++++++++++++++++++
 src/c/operations/division/i8ldiva.c   | 21 +++++++++++++++++++++
 src/c/operations/division/i8ldiva.c~  | 21 +++++++++++++++++++++
 src/c/operations/division/i8rdiva.c   | 21 +++++++++++++++++++++
 src/c/operations/division/i8rdiva.c~  | 21 +++++++++++++++++++++
 src/c/operations/division/u16ldiva.c  | 21 +++++++++++++++++++++
 src/c/operations/division/u16ldiva.c~ | 21 +++++++++++++++++++++
 src/c/operations/division/u16rdiva.c  | 21 +++++++++++++++++++++
 src/c/operations/division/u16rdiva.c~ | 21 +++++++++++++++++++++
 src/c/operations/division/u8ldiva.c   | 21 +++++++++++++++++++++
 src/c/operations/division/u8ldiva.c~  | 21 +++++++++++++++++++++
 src/c/operations/division/u8rdiva .c~ | 21 +++++++++++++++++++++
 src/c/operations/division/u8rdiva.c   | 21 +++++++++++++++++++++
 src/c/operations/division/u8rdiva.c~  | 21 +++++++++++++++++++++
 21 files changed, 405 insertions(+), 2 deletions(-)
 create mode 100644 src/c/operations/division/cldiva.c~
 create mode 100644 src/c/operations/division/crdiva.c~
 create mode 100644 src/c/operations/division/i16ldiva.c
 create mode 100644 src/c/operations/division/i16ldiva.c~
 create mode 100644 src/c/operations/division/i16rdiva.c
 create mode 100644 src/c/operations/division/i16rdiva.c~
 create mode 100644 src/c/operations/division/i8ldiva.c
 create mode 100644 src/c/operations/division/i8ldiva.c~
 create mode 100644 src/c/operations/division/i8rdiva.c
 create mode 100644 src/c/operations/division/i8rdiva.c~
 create mode 100644 src/c/operations/division/u16ldiva.c
 create mode 100644 src/c/operations/division/u16ldiva.c~
 create mode 100644 src/c/operations/division/u16rdiva.c
 create mode 100644 src/c/operations/division/u16rdiva.c~
 create mode 100644 src/c/operations/division/u8ldiva.c
 create mode 100644 src/c/operations/division/u8ldiva.c~
 create mode 100644 src/c/operations/division/u8rdiva .c~
 create mode 100644 src/c/operations/division/u8rdiva.c
 create mode 100644 src/c/operations/division/u8rdiva.c~

diff --git a/src/c/operations/division/cldiva.c b/src/c/operations/division/cldiva.c
index 21d95e31..73b94f28 100644
--- a/src/c/operations/division/cldiva.c
+++ b/src/c/operations/division/cldiva.c
@@ -15,7 +15,8 @@
 
 void cldiva (floatComplex* in1, floatComplex* in2, int size, floatComplex* out ){
 	int i=0;
-	for (i=0;i<size;i++){
+	for (i=0;i<size;i++)
+        {
 		out[i]=cldivs(in1[i],in2[i]);
 	}
 }
diff --git a/src/c/operations/division/cldiva.c~ b/src/c/operations/division/cldiva.c~
new file mode 100644
index 00000000..73b94f28
--- /dev/null
+++ b/src/c/operations/division/cldiva.c~
@@ -0,0 +1,22 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void cldiva (floatComplex* in1, floatComplex* in2, int size, floatComplex* out ){
+	int i=0;
+	for (i=0;i<size;i++)
+        {
+		out[i]=cldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/crdiva.c b/src/c/operations/division/crdiva.c
index 86676bd5..ea9781e8 100644
--- a/src/c/operations/division/crdiva.c
+++ b/src/c/operations/division/crdiva.c
@@ -15,7 +15,8 @@
 
 void crdiva (floatComplex* in1, floatComplex* in2, int size, floatComplex* out ){
 	int i=0;
-	for (i=0;i<size;i++){
+	for (i=0;i<size;i++)
+        {
 		out[i]=crdivs(in1[i],in2[i]);
 	}
 }
diff --git a/src/c/operations/division/crdiva.c~ b/src/c/operations/division/crdiva.c~
new file mode 100644
index 00000000..ea9781e8
--- /dev/null
+++ b/src/c/operations/division/crdiva.c~
@@ -0,0 +1,22 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void crdiva (floatComplex* in1, floatComplex* in2, int size, floatComplex* out ){
+	int i=0;
+	for (i=0;i<size;i++)
+        {
+		out[i]=crdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i16ldiva.c b/src/c/operations/division/i16ldiva.c
new file mode 100644
index 00000000..a89aa69d
--- /dev/null
+++ b/src/c/operations/division/i16ldiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i16ldiva (int16* in1, int16* in2, int size, int16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i16ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i16ldiva.c~ b/src/c/operations/division/i16ldiva.c~
new file mode 100644
index 00000000..a89aa69d
--- /dev/null
+++ b/src/c/operations/division/i16ldiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i16ldiva (int16* in1, int16* in2, int size, int16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i16ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i16rdiva.c b/src/c/operations/division/i16rdiva.c
new file mode 100644
index 00000000..ad7672c2
--- /dev/null
+++ b/src/c/operations/division/i16rdiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i16rdiva (int16* in1, int16* in2, int size, int16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i16rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i16rdiva.c~ b/src/c/operations/division/i16rdiva.c~
new file mode 100644
index 00000000..ad7672c2
--- /dev/null
+++ b/src/c/operations/division/i16rdiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i16rdiva (int16* in1, int16* in2, int size, int16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i16rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i8ldiva.c b/src/c/operations/division/i8ldiva.c
new file mode 100644
index 00000000..0f471171
--- /dev/null
+++ b/src/c/operations/division/i8ldiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i8ldiva (int8* in1, int8* in2, int size, int8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i8ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i8ldiva.c~ b/src/c/operations/division/i8ldiva.c~
new file mode 100644
index 00000000..0f471171
--- /dev/null
+++ b/src/c/operations/division/i8ldiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i8ldiva (int8* in1, int8* in2, int size, int8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i8ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i8rdiva.c b/src/c/operations/division/i8rdiva.c
new file mode 100644
index 00000000..0e6b217a
--- /dev/null
+++ b/src/c/operations/division/i8rdiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i8rdiva (int8* in1, int8* in2, int size, int8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i8rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/i8rdiva.c~ b/src/c/operations/division/i8rdiva.c~
new file mode 100644
index 00000000..0e6b217a
--- /dev/null
+++ b/src/c/operations/division/i8rdiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void i8rdiva (int8* in1, int8* in2, int size, int8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=i8rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u16ldiva.c b/src/c/operations/division/u16ldiva.c
new file mode 100644
index 00000000..55d3222e
--- /dev/null
+++ b/src/c/operations/division/u16ldiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u16ldiva (uint16* in1, uint16* in2, int size, uint16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u16ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u16ldiva.c~ b/src/c/operations/division/u16ldiva.c~
new file mode 100644
index 00000000..55d3222e
--- /dev/null
+++ b/src/c/operations/division/u16ldiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u16ldiva (uint16* in1, uint16* in2, int size, uint16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u16ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u16rdiva.c b/src/c/operations/division/u16rdiva.c
new file mode 100644
index 00000000..eb21be16
--- /dev/null
+++ b/src/c/operations/division/u16rdiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u16rdiva (uint16* in1, uint16* in2, int size, uint16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u16rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u16rdiva.c~ b/src/c/operations/division/u16rdiva.c~
new file mode 100644
index 00000000..eb21be16
--- /dev/null
+++ b/src/c/operations/division/u16rdiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u16rdiva (uint16* in1, uint16* in2, int size, uint16* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u16rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u8ldiva.c b/src/c/operations/division/u8ldiva.c
new file mode 100644
index 00000000..76e59ad2
--- /dev/null
+++ b/src/c/operations/division/u8ldiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u8ldiva (uint8* in1, uint8* in2, int size, uint8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u8ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u8ldiva.c~ b/src/c/operations/division/u8ldiva.c~
new file mode 100644
index 00000000..76e59ad2
--- /dev/null
+++ b/src/c/operations/division/u8ldiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u8ldiva (uint8* in1, uint8* in2, int size, uint8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u8ldivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u8rdiva .c~ b/src/c/operations/division/u8rdiva .c~
new file mode 100644
index 00000000..d1eb5c4b
--- /dev/null
+++ b/src/c/operations/division/u8rdiva .c~	
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u8rdiva (uint8* in1, uint8* in2, int size, uint8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u8rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u8rdiva.c b/src/c/operations/division/u8rdiva.c
new file mode 100644
index 00000000..d1eb5c4b
--- /dev/null
+++ b/src/c/operations/division/u8rdiva.c
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u8rdiva (uint8* in1, uint8* in2, int size, uint8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u8rdivs(in1[i],in2[i]);
+	}
+}
diff --git a/src/c/operations/division/u8rdiva.c~ b/src/c/operations/division/u8rdiva.c~
new file mode 100644
index 00000000..d1eb5c4b
--- /dev/null
+++ b/src/c/operations/division/u8rdiva.c~
@@ -0,0 +1,21 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Arnaud TORSET
+ *
+ *  This file must be used under the terms of the CeCILL.
+ *  This source file is licensed as described in the file COPYING, which
+ *  you should have received as part of this distribution.  The terms
+ *  are also available at
+ *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+
+#include "division.h"  
+
+void u8rdiva (uint8* in1, uint8* in2, int size, uint8* out ){
+	int i=0;
+	for (i=0;i<size;i++){
+		out[i]=u8rdivs(in1[i],in2[i]);
+	}
+}
-- 
cgit