diff options
author | Siddhesh Wani | 2015-08-04 14:36:45 +0530 |
---|---|---|
committer | Siddhesh Wani | 2015-08-04 14:36:45 +0530 |
commit | 6014a4bafdfade45be535c84273309642b731164 (patch) | |
tree | 63c7e18c1b1ddae9bb4c19ceefc835daaf350d98 /2.3-1/src/c/elementaryFunctions/interfaces | |
parent | dcc7a8331ba9ae3bdd00670a018631c77517c100 (diff) | |
download | Scilab2C-6014a4bafdfade45be535c84273309642b731164.tar.gz Scilab2C-6014a4bafdfade45be535c84273309642b731164.tar.bz2 Scilab2C-6014a4bafdfade45be535c84273309642b731164.zip |
Tested Addition and Subtraction for new data types
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/interfaces')
4 files changed, 104 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_int16.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_int16.h new file mode 100644 index 00000000..759cb971 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_int16.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_INT16_H__ +#define __INT_INT16_H__ + +#define s0int16u80(in) sint16s(in) + +#define d0int16u80(in) dint16s(in) + +#define s2int16u82(in,size,out) sint16a(in, size[0]*size[1], out) + +#define d2int16u82(in,size,out) dint16a(in, size[0]*size[1], out) + +#endif /* !__INT_INT8_H__ */ diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_int8.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_int8.h new file mode 100644 index 00000000..5cf129eb --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_int8.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_INT8_H__ +#define __INT_INT8_H__ + +#define s0int8u80(in) sint8s(in) + +#define d0int8u80(in) dint8s(in) + +#define s2int8u82(in,size,out) sint8a(in, size[0]*size[1], out) + +#define d2int8u82(in,size,out) dint8a(in, size[0]*size[1], out) + +#endif /* !__INT_INT8_H__ */ diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_uint16.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_uint16.h new file mode 100644 index 00000000..0d558b30 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_uint16.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_UINT16_H__ +#define __INT_UINT16_H__ + +#define s0uint16u80(in) suint16s(in) + +#define d0uint16u80(in) duint16s(in) + +#define s2uint16u82(in,size,out) suint16a(in, size[0]*size[1], out) + +#define d2uint16u82(in,size,out) duint16a(in, size[0]*size[1], out) + +#endif /* !__INT_UINT8_H__ */ diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_uint8.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_uint8.h new file mode 100644 index 00000000..d12b275a --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_uint8.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_UINT8_H__ +#define __INT_UINT8_H__ + +#define s0uint8u80(in) suint8s(in) + +#define d0uint8u80(in) duint8s(in) + +#define s2uint8u82(in,size,out) suint8a(in, size[0]*size[1], out) + +#define d2uint8u82(in,size,out) duint8a(in, size[0]*size[1], out) + +#endif /* !__INT_UINT8_H__ */ |