From b51c896e5578db848e9b5ace47618a1b7fa27e96 Mon Sep 17 00:00:00 2001 From: torset Date: Wed, 25 Feb 2009 12:59:44 +0000 Subject: Add ceil files --- src/elementaryFunctions/ceil/sceila.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/elementaryFunctions/ceil/sceila.c (limited to 'src/elementaryFunctions/ceil/sceila.c') diff --git a/src/elementaryFunctions/ceil/sceila.c b/src/elementaryFunctions/ceil/sceila.c new file mode 100644 index 00000000..217536b1 --- /dev/null +++ b/src/elementaryFunctions/ceil/sceila.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 +#include "ceil.h" + +void sceila(float* x, int size, float* out) { + int i = 0; + for (i=0;i