diff options
author | Ankitr19 | 2017-07-04 15:33:41 +0530 |
---|---|---|
committer | Ankitr19 | 2017-07-04 15:33:41 +0530 |
commit | 46f9a6c3b848a549f5d92929fd6d1efb501e176a (patch) | |
tree | 0063bfdcb730f75e8cd4281d6f775791883c87d4 /2.3-1/src/c/elementaryFunctions/uint32/duint32a.c | |
parent | 5cfbe7196dd381f1e3f49f5673ce5c9291748364 (diff) | |
parent | c66867c874436fb37ef54c67b048885ce094e894 (diff) | |
download | Scilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.tar.gz Scilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.tar.bz2 Scilab2C-46f9a6c3b848a549f5d92929fd6d1efb501e176a.zip |
New functions added and rpi issues resolved
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/uint32/duint32a.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/uint32/duint32a.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/uint32/duint32a.c b/2.3-1/src/c/elementaryFunctions/uint32/duint32a.c new file mode 100644 index 00000000..7cd0ea3e --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/uint32/duint32a.c @@ -0,0 +1,18 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + 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 + Author: Siddhesh Wani, Jorawar Singh + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "uint32.h" + +void duint32a(double* x, int size, uint32* out) { + int i = 0; + for (i=0;i<size;i++) out[i] = duint32s(x[i]); +} |