Skip to main content
37 events
when toggle format what by license comment
May 14, 2024 at 1:14 answer added david timeline score: 3
Jan 16, 2023 at 0:58 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://en.wikipedia.org/wiki/Two%27s_complement> <https://en.wiktionary.org/wiki/Wikipedia#Proper_noun>]. Expanded. Removed meta information (this belongs in comments).
Nov 12, 2021 at 4:31 comment added aderchox A quick mnemonic and also a confusion clearer: Just like the sign magnitude representation, the Two's Complement representation has a "sign bit" too. So to find the value of a two's complement signed (negative, zero, or positive) number, calculate only the sign bit, which is the most significant bit, negatively, and then the rest of the bits will be calculated as usual (positively, as in unsigned encodings). Thanks to Mr.Brayant and Mr.O'Hallaron authors of the amazing book "Computer Systems: A programmer's perspective" (note: this book is much more than just this simple sample).
May 9, 2021 at 3:09 answer added Ivan Yoed timeline score: 0
Sep 15, 2020 at 19:45 comment added Charlie Parker I think a comment that was helpful to me is that complement is similar to inverse but instead of giving 0 it gives 2^N (by definition) e.g. with 3 bits for the number A we want A+~A=2^N so 010 + 110 = 1000 = 8 which is 2^3. At least that clarifies what the word "complement" is suppose to mean here as it't not just the inverting of the meaning of 0 and 1. Useful MIT video: youtube.com/watch?v=RbJV-g9Lob8
Jun 15, 2020 at 9:47 history protected Konrad Rudolph
Dec 13, 2019 at 17:31 answer added Denis Roosevelt timeline score: 2
Oct 26, 2019 at 17:21 answer added Raghu timeline score: 1
Aug 8, 2019 at 2:12 answer added Neelabh Mam timeline score: 3
Apr 13, 2019 at 23:21 answer added Russ timeline score: 3
Feb 15, 2019 at 20:42 answer added ahcox timeline score: 0
Jan 7, 2019 at 15:04 answer added user10862846 timeline score: 0
Aug 21, 2018 at 16:01 answer added Alister timeline score: 15
Oct 16, 2017 at 19:57 answer added K.N. Bhargav timeline score: 1
Jan 11, 2017 at 2:21 history edited nbloqs
Added data-representation tag. I did not remove bit-manipulation but 2's complement is really more about representation.
Dec 30, 2016 at 18:31 answer added Charles Thomas timeline score: 0
Oct 14, 2016 at 19:06 answer added user779764 timeline score: 4
May 10, 2016 at 11:11 history edited Ani Menon CC BY-SA 3.0
Edit to remove irrelevant text in question.
Sep 25, 2015 at 17:31 answer added Dmitry timeline score: -6
Aug 26, 2015 at 3:50 answer added KyBrooks timeline score: 3
Jun 3, 2015 at 5:33 history edited Ely
It's a binary signed number representation. So I think adding "binary" as a tag would be useful.
Nov 26, 2014 at 9:29 answer added Milon timeline score: 2
S Jan 19, 2014 at 22:36 history suggested michaelsnowden CC BY-SA 3.0
Fixed some grammar
Jan 19, 2014 at 22:34 review Suggested edits
S Jan 19, 2014 at 22:36
Aug 28, 2013 at 19:23 answer added NightSkyCode timeline score: 4
Jun 22, 2013 at 19:47 answer added Simon Yundov timeline score: 24
Aug 18, 2012 at 20:39 answer added ForDummies timeline score: 139
Jun 20, 2012 at 9:10 answer added Edwin Buck timeline score: 2
Jun 20, 2012 at 9:04 history edited Francesco CC BY-SA 3.0
minor typos
Sep 30, 2010 at 0:09 history edited Timwi CC BY-SA 2.5
edited tags; edited title
Sep 13, 2010 at 13:59 answer added evaa timeline score: 5
Jul 1, 2009 at 16:01 vote accept Frank V
Jun 26, 2009 at 19:04 answer added Captain Segfault timeline score: 16
Jun 26, 2009 at 15:49 answer added Nosredna timeline score: 2
Jun 26, 2009 at 15:48 answer added Vincent Ramdhanie timeline score: 397
Jun 26, 2009 at 15:29 answer added lavinio timeline score: 741
Jun 26, 2009 at 15:21 history asked Frank V CC BY-SA 2.5