summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortorset2009-02-25 14:12:21 +0000
committertorset2009-02-25 14:12:21 +0000
commit30a6283b430df109951c5ddc599dc68aef83069f (patch)
tree19775c54a294666db08d974bca547c80842ed3fc
parent02ceca6079e2a178b6663da0946e8edc630d1886 (diff)
downloadscilab2c-30a6283b430df109951c5ddc599dc68aef83069f.tar.gz
scilab2c-30a6283b430df109951c5ddc599dc68aef83069f.tar.bz2
scilab2c-30a6283b430df109951c5ddc599dc68aef83069f.zip
add some interfaces
-rw-r--r--scilab2c/src/elementaryFunctions/interfaces/int_ceil.h34
-rw-r--r--scilab2c/src/elementaryFunctions/interfaces/int_fix.h34
-rw-r--r--scilab2c/src/elementaryFunctions/interfaces/int_floor.h34
-rw-r--r--scilab2c/src/elementaryFunctions/interfaces/int_int.h34
-rw-r--r--scilab2c/src/elementaryFunctions/interfaces/int_round.h34
5 files changed, 170 insertions, 0 deletions
diff --git a/scilab2c/src/elementaryFunctions/interfaces/int_ceil.h b/scilab2c/src/elementaryFunctions/interfaces/int_ceil.h
new file mode 100644
index 00000000..918dd5a0
--- /dev/null
+++ b/scilab2c/src/elementaryFunctions/interfaces/int_ceil.h
@@ -0,0 +1,34 @@
+/*
+ * 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_CEIL_H__
+#define __INT_CEIL_H__
+
+#define s0ceils0(in) sceils(in)
+
+#define d0ceild0(in) dceils(in)
+
+#define c0ceilc0(in) cceils(in)
+
+#define z0ceilz0(in) zceils(in)
+
+#define s2ceils2(in,size,out) sceila(in, size[0]*size[1], out)
+
+#define d2ceild2(in,size,out) dceila(in, size[0]*size[1], out)
+
+#define c2ceilc2(in,size,out) cceila(in, size[0]*size[1], out)
+
+#define z2ceilz2(in,size,out) zceila(in, size[0]*size[1], out)
+
+#endif /* !__INT_CEIL_H__ */
diff --git a/scilab2c/src/elementaryFunctions/interfaces/int_fix.h b/scilab2c/src/elementaryFunctions/interfaces/int_fix.h
new file mode 100644
index 00000000..ac483c92
--- /dev/null
+++ b/scilab2c/src/elementaryFunctions/interfaces/int_fix.h
@@ -0,0 +1,34 @@
+/*
+ * 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_FIX_H__
+#define __INT_FIX_H__
+
+#define s0fixs0(in) sfixs(in)
+
+#define d0fixd0(in) dfixs(in)
+
+#define c0fixc0(in) cfixs(in)
+
+#define z0fixz0(in) zfixs(in)
+
+#define s2fixs2(in,size,out) sfixa(in, size[0]*size[1], out)
+
+#define d2fixd2(in,size,out) dfixa(in, size[0]*size[1], out)
+
+#define c2fixc2(in,size,out) cfixa(in, size[0]*size[1], out)
+
+#define z2fixz2(in,size,out) zfixa(in, size[0]*size[1], out)
+
+#endif /* !__INT_FIX_H__ */
diff --git a/scilab2c/src/elementaryFunctions/interfaces/int_floor.h b/scilab2c/src/elementaryFunctions/interfaces/int_floor.h
new file mode 100644
index 00000000..548c5e2a
--- /dev/null
+++ b/scilab2c/src/elementaryFunctions/interfaces/int_floor.h
@@ -0,0 +1,34 @@
+/*
+ * 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_FLOOR_H__
+#define __INT_FLOOR_H__
+
+#define s0floors0(in) sfloors(in)
+
+#define d0floord0(in) dfloors(in)
+
+#define c0floorc0(in) cfloors(in)
+
+#define z0floorz0(in) zfloors(in)
+
+#define s2floors2(in,size,out) sfloora(in, size[0]*size[1], out)
+
+#define d2floord2(in,size,out) dfloora(in, size[0]*size[1], out)
+
+#define c2floorc2(in,size,out) cfloora(in, size[0]*size[1], out)
+
+#define z2floorz2(in,size,out) zfloora(in, size[0]*size[1], out)
+
+#endif /* !__INT_FLOOR_H__ */
diff --git a/scilab2c/src/elementaryFunctions/interfaces/int_int.h b/scilab2c/src/elementaryFunctions/interfaces/int_int.h
new file mode 100644
index 00000000..b40811ad
--- /dev/null
+++ b/scilab2c/src/elementaryFunctions/interfaces/int_int.h
@@ -0,0 +1,34 @@
+/*
+ * 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_INT_H__
+#define __INT_INT_H__
+
+#define s0ints0(in) sints(in)
+
+#define d0intd0(in) dints(in)
+
+#define c0intc0(in) cints(in)
+
+#define z0intz0(in) zints(in)
+
+#define s2ints2(in,size,out) sinta(in, size[0]*size[1], out)
+
+#define d2intd2(in,size,out) dinta(in, size[0]*size[1], out)
+
+#define c2intc2(in,size,out) cinta(in, size[0]*size[1], out)
+
+#define z2intz2(in,size,out) zinta(in, size[0]*size[1], out)
+
+#endif /* !__INT_INT_H__ */
diff --git a/scilab2c/src/elementaryFunctions/interfaces/int_round.h b/scilab2c/src/elementaryFunctions/interfaces/int_round.h
new file mode 100644
index 00000000..a5da230c
--- /dev/null
+++ b/scilab2c/src/elementaryFunctions/interfaces/int_round.h
@@ -0,0 +1,34 @@
+/*
+ * 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_ROUND_H__
+#define __INT_ROUND_H__
+
+#define s0rounds0(in) srounds(in)
+
+#define d0roundd0(in) drounds(in)
+
+#define c0roundc0(in) crounds(in)
+
+#define z0roundz0(in) zrounds(in)
+
+#define s2rounds2(in,size,out) srounda(in, size[0]*size[1], out)
+
+#define d2roundd2(in,size,out) drounda(in, size[0]*size[1], out)
+
+#define c2roundc2(in,size,out) crounda(in, size[0]*size[1], out)
+
+#define z2roundz2(in,size,out) zrounda(in, size[0]*size[1], out)
+
+#endif /* !__INT_ROUND_H__ */