diff options
Diffstat (limited to 'src/c/elementaryFunctions/radix_conversions/dec2base/sdec2basea.c')
-rw-r--r-- | src/c/elementaryFunctions/radix_conversions/dec2base/sdec2basea.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/radix_conversions/dec2base/sdec2basea.c b/src/c/elementaryFunctions/radix_conversions/dec2base/sdec2basea.c new file mode 100644 index 0000000..51e1238 --- /dev/null +++ b/src/c/elementaryFunctions/radix_conversions/dec2base/sdec2basea.c @@ -0,0 +1,10 @@ +#include "dec2base.h" + +void sdec2basea(float* in,int size,int base,int n,char* out) +{ + int i=0; + for(i=0;i<size;i++) + { + sdec2bases(in[i],base,n,&(out[i*3])); + } +} |