@ -24,6 +24,10 @@ char* convertIntToBinaryStr(int input){
int length = binaryStrLen(input);
int rest;
char* result = (char*)malloc(sizeof(char) * length + 1);
if(input < 0){
result[0] = '-';
input *= -1;
}
result[length] = '\0';
do{
rest = input % 2;