[QUOTE}in binary =00000000000000000000000011000000
all i want to know is how to represent -192 in binary
Hi,
I think what you need to do is ~ this int variable then add 1.for example:
00000000000000000000000011000000
11111111111111111111111100111111 +1 =
11111111111111111111111101000000 = -192
if you wanna know how the float or double type data express negative data, i think there is complex so u can check book.
and on page 50 it says
shifts of ints use only the low-order 5 bits and of longs only
low-order 6 bits of right operand. what it mean.
without the context, i cannot understand what your quote means. COuld u quote more from book?
regds
George