j
k
j a
j l
At last found what I was trying to convey. A new class >>BinaryInt(n: Integer *, bits,signed=False) It should accept float values.(now >> "bin(5.8)".. will raise an error).
...BinaryInt(-2,4) 0b1110 BinaryInt(5,4) 0b0101 BinaryInt(-2,4,True) -0b010
BinaryInt(-2,4) 0b1110 BinaryInt(5,4) 0b0101 BinaryInt(-2,4,True) -0b010
Back to the thread
Back to the list