diff options
author | siddhu8990 | 2016-02-01 11:29:45 +0530 |
---|---|---|
committer | siddhu8990 | 2016-02-01 11:29:45 +0530 |
commit | bbdc94252ee563f0b01d4949868a583e43a2e6a8 (patch) | |
tree | 5f5197d22bba24e41928c98aed936dc5ad828fcf /src/c/auxiliaryFunctions/rand/u8randa.c | |
parent | 5df6d1cb2868abdc8df66755f76c997ee36c0b49 (diff) | |
parent | 8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff) | |
download | Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.tar.gz Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.tar.bz2 Scilab2C_fossee_old-bbdc94252ee563f0b01d4949868a583e43a2e6a8.zip |
Merged RPi and bit operators
Diffstat (limited to 'src/c/auxiliaryFunctions/rand/u8randa.c')
-rw-r--r-- | src/c/auxiliaryFunctions/rand/u8randa.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/c/auxiliaryFunctions/rand/u8randa.c b/src/c/auxiliaryFunctions/rand/u8randa.c new file mode 100644 index 0000000..4d7d3f8 --- /dev/null +++ b/src/c/auxiliaryFunctions/rand/u8randa.c @@ -0,0 +1,15 @@ +/* Scilab2C FOSSEE IIT BOMBAY */ +#include "rand.h" +#include<stdio.h> +void u8randa(double *out,int size) +{ + + int i = 0; + + for(i = 0 ; i < size ; ++i) + { + out[i] = u8rands(); + + } + +} |