Comments on: Why computers represent signed integers using two’s complement http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/ On programming, technology, and random things of interest 2021年1月24日 22:52:29 +0000 hourly 1 https://wordpress.org/?v=4.0.38 By: Hermawan Wiwit http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-248538 2017年11月04日 12:28:51 +0000 http://igoro.com/?p=682#comment-248538 Easy to understand. Thanks, but can the computer know the input except for the binary number?

]]>
By: Qian http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-243447 2017年4月27日 15:55:44 +0000 http://igoro.com/?p=682#comment-243447 It is so wonderful! So clear and easy to understand!

]]>
By: Anonymous http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-232225 2016年7月19日 04:38:21 +0000 http://igoro.com/?p=682#comment-232225 thanks a lot for it is so helpful for me.

]]>
By: Gimi http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-229970 2016年5月29日 17:27:15 +0000 http://igoro.com/?p=682#comment-229970 Can you please explain why one’s complement is not suitable for signed integers?

]]>
By: owen zhang http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-223788 2015年11月15日 00:59:19 +0000 http://igoro.com/?p=682#comment-223788 Very helpful! The article help me a lot, thx.

]]>
By: Ankit http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-209541 2015年7月03日 16:45:20 +0000 http://igoro.com/?p=682#comment-209541 Thanks from India!

]]>
By: Phil Wilson http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-202856 2015年4月18日 08:24:38 +0000 http://igoro.com/?p=682#comment-202856 Hi Igor,

This brings back memories, I wrote the C runtime library to support the packed decimal (Binary Coded Decimal BCD) data type on the mainframe, every time someone wrote a line of code in C using the packed data type it ran my cod). This data type had 64 digit precision and I had to go back to grass roots maths to write it. I would have to say this was one of the most satisfying projects I worked on. This was such a challenge, I had to write all of the routines to convert from packed to float, float to packed etc etc I loved it. The hardest routine was division, I ended up using using recursive subtraction to work this out. All in assembler.

Phil.

]]>
By: Gramse http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-134143 2012年11月14日 06:48:07 +0000 http://igoro.com/?p=682#comment-134143 how do you represent the wordS ‘good morning’ in ASCII?

]]>
By: Wang Li http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-41712 2012年3月14日 01:16:07 +0000 http://igoro.com/?p=682#comment-41712 Thanks,from China.

]]>
By: Les Sohay http://igoro.com/archive/why-computers-represent-signed-integers-using-twos-complement/comment-page-1/#comment-2795 2011年5月02日 22:56:00 +0000 http://igoro.com/?p=682#comment-2795 Hello Igor

Can you tell me how many addition a computer do while an identical computer performs the following operation, using two’s complements? tHAKS FOR YOUR HELP. Les

SUBTRACTING A LARGER NEGATIVE NUMBER FROM A SMALLER NEGATIVE NUMBER:
(–A)–(–B)=C (–3)–(–5)=2

]]>

AltStyle によって変換されたページ (->オリジナル) /