Hi all,
I am confused !!
can some one give an example like how to find the binary number for negative numbers.
i know this tech. to get the binary number for -ve values.Please correct me b'coz for some numbers i am getting diff. values.
lets take -192
step1:
we should take 192 and minus 1 i,e 191
step2:
get the binary form for 191 i,e 10111111
step3:and then change 0's to 1 and 1's to 0's
i,e 01000000(which is the binary value of -192)
am i going in the right way?please let me know.
[ January 29, 2002: Message edited by: kittu anu ]