summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/float
diff options
context:
space:
mode:
authorsiddhu89902017-04-24 14:08:37 +0530
committersiddhu89902017-04-24 14:08:37 +0530
commitc7e9597db39140c1d982f796a8e1f03bb54e7905 (patch)
treef5f44081aeba7a00bb69b1ec71f93c31eac12863 /src/c/elementaryFunctions/float
parent1fd0dce8d72c4d5869ce5ff4025ac09af603bc0f (diff)
downloadScilab2C_fossee_old-c7e9597db39140c1d982f796a8e1f03bb54e7905.tar.gz
Scilab2C_fossee_old-c7e9597db39140c1d982f796a8e1f03bb54e7905.tar.bz2
Scilab2C_fossee_old-c7e9597db39140c1d982f796a8e1f03bb54e7905.zip
Fixed float.h issue. OpenCV with built libraries working for linux x64
Diffstat (limited to 'src/c/elementaryFunctions/float')
-rw-r--r--src/c/elementaryFunctions/float/dfloata.c13
-rw-r--r--src/c/elementaryFunctions/float/dfloats.c13
-rw-r--r--src/c/elementaryFunctions/float/i16floata.c13
-rw-r--r--src/c/elementaryFunctions/float/i16floats.c13
-rw-r--r--src/c/elementaryFunctions/float/i8floata.c13
-rw-r--r--src/c/elementaryFunctions/float/i8floats.c13
-rw-r--r--src/c/elementaryFunctions/float/sfloata.c13
-rw-r--r--src/c/elementaryFunctions/float/sfloats.c13
-rw-r--r--src/c/elementaryFunctions/float/u16floata.c13
-rw-r--r--src/c/elementaryFunctions/float/u16floats.c13
-rw-r--r--src/c/elementaryFunctions/float/u8floata.c13
-rw-r--r--src/c/elementaryFunctions/float/u8floats.c13
12 files changed, 144 insertions, 12 deletions
diff --git a/src/c/elementaryFunctions/float/dfloata.c b/src/c/elementaryFunctions/float/dfloata.c
index e27b0a1..9705bd1 100644
--- a/src/c/elementaryFunctions/float/dfloata.c
+++ b/src/c/elementaryFunctions/float/dfloata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void dfloata(double* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/dfloats.c b/src/c/elementaryFunctions/float/dfloats.c
index a56c24c..ece554a 100644
--- a/src/c/elementaryFunctions/float/dfloats.c
+++ b/src/c/elementaryFunctions/float/dfloats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float dfloats(double x) {
return (float) x;
diff --git a/src/c/elementaryFunctions/float/i16floata.c b/src/c/elementaryFunctions/float/i16floata.c
index e2366b7..c8113af 100644
--- a/src/c/elementaryFunctions/float/i16floata.c
+++ b/src/c/elementaryFunctions/float/i16floata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void i16floata(int16* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/i16floats.c b/src/c/elementaryFunctions/float/i16floats.c
index c0c073c..9f3ee06 100644
--- a/src/c/elementaryFunctions/float/i16floats.c
+++ b/src/c/elementaryFunctions/float/i16floats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float i16floats(int16 x) {
return (float) x;
diff --git a/src/c/elementaryFunctions/float/i8floata.c b/src/c/elementaryFunctions/float/i8floata.c
index b578fe5..52f9a6a 100644
--- a/src/c/elementaryFunctions/float/i8floata.c
+++ b/src/c/elementaryFunctions/float/i8floata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void i8floata(int8* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/i8floats.c b/src/c/elementaryFunctions/float/i8floats.c
index 15e4fc7..88127b3 100644
--- a/src/c/elementaryFunctions/float/i8floats.c
+++ b/src/c/elementaryFunctions/float/i8floats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float i8floats(int8 x) {
return (float) x;
diff --git a/src/c/elementaryFunctions/float/sfloata.c b/src/c/elementaryFunctions/float/sfloata.c
index c7583ba..3433706 100644
--- a/src/c/elementaryFunctions/float/sfloata.c
+++ b/src/c/elementaryFunctions/float/sfloata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void sfloata(float* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/sfloats.c b/src/c/elementaryFunctions/float/sfloats.c
index e579186..3351fb0 100644
--- a/src/c/elementaryFunctions/float/sfloats.c
+++ b/src/c/elementaryFunctions/float/sfloats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float sfloats(float x) {
return (float) x;
diff --git a/src/c/elementaryFunctions/float/u16floata.c b/src/c/elementaryFunctions/float/u16floata.c
index 28867cb..febe5e0 100644
--- a/src/c/elementaryFunctions/float/u16floata.c
+++ b/src/c/elementaryFunctions/float/u16floata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void u16floata(uint16* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/u16floats.c b/src/c/elementaryFunctions/float/u16floats.c
index f46275d..47e19ae 100644
--- a/src/c/elementaryFunctions/float/u16floats.c
+++ b/src/c/elementaryFunctions/float/u16floats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float u16floats(uint16 x) {
return (float) x;
diff --git a/src/c/elementaryFunctions/float/u8floata.c b/src/c/elementaryFunctions/float/u8floata.c
index 8455420..a4a1fec 100644
--- a/src/c/elementaryFunctions/float/u8floata.c
+++ b/src/c/elementaryFunctions/float/u8floata.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
void u8floata(uint8* x, int size, float* out) {
int i = 0;
diff --git a/src/c/elementaryFunctions/float/u8floats.c b/src/c/elementaryFunctions/float/u8floats.c
index f2b4c26..8b7dd8d 100644
--- a/src/c/elementaryFunctions/float/u8floats.c
+++ b/src/c/elementaryFunctions/float/u8floats.c
@@ -1,4 +1,15 @@
-#include "float.h"
+/* Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+ 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
+ Organization: FOSSEE, IIT Bombay
+ Author: Shamik Guha
+ Email: toolbox@scilab.in
+*/
+#include "get_float.h"
float u8floats(uint8 x) {
return (float) x;