diff options
author | torset | 2009-02-25 12:59:44 +0000 |
---|---|---|
committer | torset | 2009-02-25 12:59:44 +0000 |
commit | b51c896e5578db848e9b5ace47618a1b7fa27e96 (patch) | |
tree | 994413142f66ee1a01a4224ee5ee76f6d4cc7ea5 /src/elementaryFunctions/ceil/sceila.c | |
parent | 7bd2dd61fe5ed9d0bf8211a9921824cba76b4b7a (diff) | |
download | scilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.tar.gz scilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.tar.bz2 scilab2c-b51c896e5578db848e9b5ace47618a1b7fa27e96.zip |
Add ceil files
Diffstat (limited to 'src/elementaryFunctions/ceil/sceila.c')
-rw-r--r-- | src/elementaryFunctions/ceil/sceila.c | 19 |
1 files changed, 19 insertions, 0 deletions
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 <math.h> +#include "ceil.h" + +void sceila(float* x, int size, float* out) { + int i = 0; + for (i=0;i<size;i++) out[i] = sceils(x[i]); +} |