1 static char * dec2binWzerofill(unsigned long Dec, unsigned int bitLength){
6 bin[32+i++] = ((Dec & 1) > 0) ? '1' : '0';
10 for (unsigned int j = 0; j< bitLength; j++) {
11 if (j >= bitLength - i) {
12 bin[j] = bin[ 31 + i - (j - (bitLength - i)) ];
17 bin[bitLength] = '\0';