summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/ceil/sceils.c
diff options
context:
space:
mode:
authortorset2009-02-25 12:59:44 +0000
committertorset2009-02-25 12:59:44 +0000
commitb51c896e5578db848e9b5ace47618a1b7fa27e96 (patch)
tree994413142f66ee1a01a4224ee5ee76f6d4cc7ea5 /src/elementaryFunctions/ceil/sceils.c
parent7bd2dd61fe5ed9d0bf8211a9921824cba76b4b7a (diff)
downloadscilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.tar.gz
scilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.tar.bz2
scilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.zip
Add ceil files
Diffstat (limited to 'src/elementaryFunctions/ceil/sceils.c')
-rw-r--r--src/elementaryFunctions/ceil/sceils.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/elementaryFunctions/ceil/sceils.c b/src/elementaryFunctions/ceil/sceils.c
new file mode 100644
index 00000000..cfcddeea
--- /dev/null
+++ b/src/elementaryFunctions/ceil/sceils.c
@@ -0,0 +1,18 @@
+/*
+ * 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 <math.h>
+#include "ceil.h"
+
+float sceils(float x) {
+ return (ceilf(x));
+}