add the parameter 'radix' to signedToString and unsignedToString
rename appendCStr to appendStr