margalo wrote:spotify95 wrote:margalo wrote:I'll just use my calculator
So your calculator can convert to binary?
Can it also do 2's compliment? I think that 2's compliment might be needed for the negative binary - but we'll have to check.
Yes, It can! It can also convert to hexadecimal and octal. What calculator do you have? I don't know what 2s compliment is as I only know the conversion of positive decimals to binary, octal and base 5 which I learnt back in high school.
I tried converting negative decimals to binary on my calculator. Have a look:
https://lh3.googleusercontent.com/-Nb4_ ... 164848.jpgIs that the right answer?
I haven't got that calculator, though it is scientific. I have the Casio FX85, not the 570 which you have.
That answer looks a bit weird, though having said that negative binary really isn't my strong point.
I do know about hex, bin and octal, as well as BCD (binary coded decimal)
I only started to learn about 2's compliment last year, and I think that is how the negative thread will work. Basically, you take the positive binary for the number (if negative), invert all of the digits and then add 1 to it.
You can have a look here about 2's compliment:
http://en.wikipedia.org/wiki/Two's_complementhttp://en.wikipedia.org/wiki/Two's_comp ... complementedit: Yeah, just manually tried doing the 2's compliment of 121 and the calculator is indeed correct.