log version of dec2bin