diff options
Diffstat (limited to '2.3-1/src/c/operations/division')
-rw-r--r-- | 2.3-1/src/c/operations/division/i16ldivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/i16rdivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/i8ldivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/i8rdivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/u16ldivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/u16rdivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/u8ldivs.c | 19 | ||||
-rw-r--r-- | 2.3-1/src/c/operations/division/u8rdivs.c | 19 |
8 files changed, 152 insertions, 0 deletions
diff --git a/2.3-1/src/c/operations/division/i16ldivs.c b/2.3-1/src/c/operations/division/i16ldivs.c new file mode 100644 index 00000000..b470b16a --- /dev/null +++ b/2.3-1/src/c/operations/division/i16ldivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +int16 i16ldivs (int16 in1, int16 in2){ + return in2/in1; +} diff --git a/2.3-1/src/c/operations/division/i16rdivs.c b/2.3-1/src/c/operations/division/i16rdivs.c new file mode 100644 index 00000000..e4d54823 --- /dev/null +++ b/2.3-1/src/c/operations/division/i16rdivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +int16 i16rdivs (int16 in1, int16 in2){ + return in1/in2; +} diff --git a/2.3-1/src/c/operations/division/i8ldivs.c b/2.3-1/src/c/operations/division/i8ldivs.c new file mode 100644 index 00000000..6bf0d266 --- /dev/null +++ b/2.3-1/src/c/operations/division/i8ldivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +int8 i8ldivs (int8 in1, int8 in2){ + return in2/in1; +} diff --git a/2.3-1/src/c/operations/division/i8rdivs.c b/2.3-1/src/c/operations/division/i8rdivs.c new file mode 100644 index 00000000..db8062fa --- /dev/null +++ b/2.3-1/src/c/operations/division/i8rdivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +int8 i8rdivs (int8 in1, int8 in2){ + return in1/in2; +} diff --git a/2.3-1/src/c/operations/division/u16ldivs.c b/2.3-1/src/c/operations/division/u16ldivs.c new file mode 100644 index 00000000..5383ebf4 --- /dev/null +++ b/2.3-1/src/c/operations/division/u16ldivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +uint16 u16ldivs (uint16 in1, uint16 in2){ + return in2/in1; +} diff --git a/2.3-1/src/c/operations/division/u16rdivs.c b/2.3-1/src/c/operations/division/u16rdivs.c new file mode 100644 index 00000000..68b998fd --- /dev/null +++ b/2.3-1/src/c/operations/division/u16rdivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +uint16 u16rdivs (uint16 in1, uint16 in2){ + return in1/in2; +} diff --git a/2.3-1/src/c/operations/division/u8ldivs.c b/2.3-1/src/c/operations/division/u8ldivs.c new file mode 100644 index 00000000..0694d5f0 --- /dev/null +++ b/2.3-1/src/c/operations/division/u8ldivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +uint8 u8ldivs (uint8 in1, uint8 in2){ + return in2/in1; +} diff --git a/2.3-1/src/c/operations/division/u8rdivs.c b/2.3-1/src/c/operations/division/u8rdivs.c new file mode 100644 index 00000000..e6364a86 --- /dev/null +++ b/2.3-1/src/c/operations/division/u8rdivs.c @@ -0,0 +1,19 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + + +uint8 u8rdivs (uint8 in1, uint8 in2){ + return in1/in2; +} |