From 1fd0dce8d72c4d5869ce5ff4025ac09af603bc0f Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 14:57:49 +0530 Subject: Merged Shamik's work --- src/c/elementaryFunctions/float/u8floats.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/c/elementaryFunctions/float/u8floats.c (limited to 'src/c/elementaryFunctions/float/u8floats.c') diff --git a/src/c/elementaryFunctions/float/u8floats.c b/src/c/elementaryFunctions/float/u8floats.c new file mode 100644 index 00000000..f2b4c261 --- /dev/null +++ b/src/c/elementaryFunctions/float/u8floats.c @@ -0,0 +1,5 @@ +#include "float.h" + +float u8floats(uint8 x) { + return (float) x; +} -- cgit From c7e9597db39140c1d982f796a8e1f03bb54e7905 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Mon, 24 Apr 2017 14:08:37 +0530 Subject: Fixed float.h issue. OpenCV with built libraries working for linux x64 --- src/c/elementaryFunctions/float/u8floats.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/c/elementaryFunctions/float/u8floats.c') 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; -- cgit