From 82e50ba319fc2c531bde168df4b23fa28b990d56 Mon Sep 17 00:00:00 2001 From: imushir Date: Fri, 22 Jan 2016 16:01:46 +0530 Subject: added support of uint8,uint16 for bitwise operators --- src/c/elementaryFunctions/bitxor/u8bitxors.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/c/elementaryFunctions/bitxor/u8bitxors.c (limited to 'src/c/elementaryFunctions/bitxor/u8bitxors.c') diff --git a/src/c/elementaryFunctions/bitxor/u8bitxors.c b/src/c/elementaryFunctions/bitxor/u8bitxors.c new file mode 100644 index 00000000..9a346eee --- /dev/null +++ b/src/c/elementaryFunctions/bitxor/u8bitxors.c @@ -0,0 +1,9 @@ +/* Scilab2C FOSSEE IITB */ + +#include "bitxor.h" + +uint8 u8bitxors(uint8 x,uint8 y) +{ + return (x ^ y); + +} -- cgit From 453598b49cb3d4a62b1797dbc90f0e3dd4521329 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 11:56:09 +0530 Subject: Copyright message updated in added files and libraries separated in 'thirdparty' folder --- src/c/elementaryFunctions/bitxor/u8bitxors.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/c/elementaryFunctions/bitxor/u8bitxors.c') diff --git a/src/c/elementaryFunctions/bitxor/u8bitxors.c b/src/c/elementaryFunctions/bitxor/u8bitxors.c index 9a346eee..338f5482 100644 --- a/src/c/elementaryFunctions/bitxor/u8bitxors.c +++ b/src/c/elementaryFunctions/bitxor/u8bitxors.c @@ -1,4 +1,14 @@ -/* Scilab2C FOSSEE IITB */ +/* Copyright (C) 2016 - 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 + Author: Mushir + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ #include "bitxor.h" -- cgit