bit - Convert decimal to sign and magnitude binary form -



bit - Convert decimal to sign and magnitude binary form -

i want convert -95 sign/magnitude form using 12 bits.

would 000001011111 magnitude , 1 bit left of lastly 1 create negative?

=> 000011011111

i wasn't sure whether set sign bit way on left (the msb).

msb sign bit choice. languages c same.

binary bit

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -