summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/float
diff options
context:
space:
mode:
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 e27b0a11..9705bd1a 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 a56c24c3..ece554a8 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 e2366b7d..c8113af9 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 c0c073c7..9f3ee063 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 b578fe56..52f9a6a6 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 15e4fc70..88127b3f 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 c7583ba8..34337068 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 e579186c..3351fb03 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 28867cb9..febe5e08 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 f46275de..47e19aed 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 84554204..a4a1fec3 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 f2b4c261..8b7dd8df 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;