Content deleted Content added
m SatyrBot auto-adding tag to talk page. See User:SatyrBot/Current project |
Improved method that handles multiplication by the minimum negative number |
||
Line 31:
Please correct me if I'm wrong, but I think that there should be -4 × 3 instead of -6 × 2. Because 0011 is 3 (and 1101 is -3 in two's complement notation) and 1100 is -4 in two's complement notation. Of course, the product is the same.
[[User:89.248.248.26|89.248.248.26]] 11:20, 5 April 2007 (UTC)
== Improved method that handles multiplication by the minimum negative number ==
The described method in the article can't handle multiplications like -128 x 1 (when using 8 bits). The problem arises from the fact that -128 is the minimum negative number when using 8 bits for representation. I have made a minor modification in the method and added one more example to show the improved technique. Hope that everything is OK.
[[User:Prekageo|Prekageo]] 12:22, 15 August 2007 (UTC)
|