------------------------------------------------
| 1064 | |
| 1065 | // ------------------------------------------------ |
| 1066 | char* Int::GetBase2() { |
| 1067 | char *ret = (char*) calloc(1,1024); |
| 1068 | int k=0; |
| 1069 | for(int i=0;i<NB32BLOCK-1;i++) { |
| 1070 | unsigned int mask=0x80000000; |
| 1071 | for(int j=0;j<32;j++) { |
| 1072 | if(bits[i]&mask) ret[k]='1'; |
| 1073 | else ret[k]='0'; |
| 1074 | k++; |
| 1075 | mask=mask>>1; |
| 1076 | } |
| 1077 | } |
| 1078 | ret[k]=0; |
| 1079 | return ret; |
| 1080 | } |
nothing calls this directly
no outgoing calls
no test coverage detected