binary_to_decimal
gaussian
Math.
decimal_to_binary
Converts integer to binary string of length nbits, sign bit and then m.s.b. on the left. Negative numbers are twos-complements, i.e., bitwise complement + 1.