summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/sinh
diff options
context:
space:
mode:
authorsiddhu89902015-08-20 01:20:26 +0530
committersiddhu89902015-08-20 01:20:26 +0530
commit5675f7cd91515d5e88fd151943c3ec5cde57ceaa (patch)
tree5aee663edf5083cfc098f7a0b5f34eb7a61c26b1 /2.3-1/src/c/elementaryFunctions/sinh
parent89454b3f15e24291e4941a44a4d8870d2d4d5727 (diff)
downloadScilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.tar.gz
Scilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.tar.bz2
Scilab2C-5675f7cd91515d5e88fd151943c3ec5cde57ceaa.zip
Support for disp added
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/sinh')
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/i16sinha.c20
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/i16sinhs.c18
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/i8sinha.c20
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/i8sinhs.c18
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/u16sinha.c20
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/u16sinhs.c18
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/u8sinha.c20
-rw-r--r--2.3-1/src/c/elementaryFunctions/sinh/u8sinhs.c18
8 files changed, 152 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/i16sinha.c b/2.3-1/src/c/elementaryFunctions/sinh/i16sinha.c
new file mode 100644
index 00000000..107d999a
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/i16sinha.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 "sinh.h"
+
+void i16sinha(int16* x, int size, float* y) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = i16sinhs(x[i]);
+ }
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/i16sinhs.c b/2.3-1/src/c/elementaryFunctions/sinh/i16sinhs.c
new file mode 100644
index 00000000..ade1d6fb
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/i16sinhs.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 <math.h>
+#include "sinh.h"
+
+float i16sinhs(int16 x) {
+ return (sinh(x));
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/i8sinha.c b/2.3-1/src/c/elementaryFunctions/sinh/i8sinha.c
new file mode 100644
index 00000000..e5fe6e40
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/i8sinha.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 "sinh.h"
+
+void i8sinha(int8* x, int size, float* y) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = i8sinhs(x[i]);
+ }
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/i8sinhs.c b/2.3-1/src/c/elementaryFunctions/sinh/i8sinhs.c
new file mode 100644
index 00000000..69bf5baa
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/i8sinhs.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 <math.h>
+#include "sinh.h"
+
+float i8sinhs(int8 x) {
+ return (sinh(x));
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/u16sinha.c b/2.3-1/src/c/elementaryFunctions/sinh/u16sinha.c
new file mode 100644
index 00000000..56eb1f84
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/u16sinha.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 "sinh.h"
+
+void u16sinha(uint16* x, int size, float* y) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = u16sinhs(x[i]);
+ }
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/u16sinhs.c b/2.3-1/src/c/elementaryFunctions/sinh/u16sinhs.c
new file mode 100644
index 00000000..e9daf00c
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/u16sinhs.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 <math.h>
+#include "sinh.h"
+
+float u16sinhs(uint16 x) {
+ return (sinh(x));
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/u8sinha.c b/2.3-1/src/c/elementaryFunctions/sinh/u8sinha.c
new file mode 100644
index 00000000..b1e2dfea
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/u8sinha.c
@@ -0,0 +1,20 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 "sinh.h"
+
+void u8sinha(uint8* x, int size, float* y) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = u8sinhs(x[i]);
+ }
+}
diff --git a/2.3-1/src/c/elementaryFunctions/sinh/u8sinhs.c b/2.3-1/src/c/elementaryFunctions/sinh/u8sinhs.c
new file mode 100644
index 00000000..126f01ca
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/sinh/u8sinhs.c
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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 <math.h>
+#include "sinh.h"
+
+float u8sinhs(uint8 x) {
+ return (sinh(x));
+}