MHB Two's Complement Binary Addition

  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Addition Binary
Click For Summary
The discussion revolves around a question about binary addition and the confusion surrounding specific calculations. The user initially presents binary addition examples but struggles to understand why certain results do not align with expectations. Clarification is sought, leading to a suggestion that the issue may relate to "twos complement" notation. A moderator emphasizes the importance of not editing or deleting posts after receiving help, as it undermines the thread's value and can lead to misunderstandings. This policy is reinforced with a warning about potential infractions for violating it. The user acknowledges the rule and expresses that they resolved their issue independently, while also critiquing a previous response for lack of assistance. The discussion highlights the necessity of clear communication in forums to ensure effective help and maintain the integrity of shared knowledge.
shamieh
Messages
538
Reaction score
0
(Envy)

I understand


1 0 1 0
+1 1 0 1
_________

=0 0 0

1 0 1 0
1 1 0 1
________
0 1 1 1

which becomes 1000

BUT, how does

1 0 1 0
+0 0 1 0
_________

not become
1 0 1 0

1 0 1 0
+ 0 0 1 0
___________
?
 
Last edited by a moderator:
Technology news on Phys.org
Re: Addition

We need more information. My first guess was that this was binary addition, but then (1010)+ (1101)= 10111 and (1010)+ (0010)= 1100. Is this a "twos complement" notation?
 
Re: Addition

Solved
 
Last edited:
Re: Addition

shamieh said:
Solved

Please DO NOT remove content from a post after help has been given. This devalues a topic, and voids the time given by the people trying to help.

This is prohibited by MHB rule #7:

Do not edit or delete questions after getting help. When a user edits or deletes a question after getting help, the context of the help is subverted and the thread becomes difficult for other members to follow. Moderators will close threads vandalised in this way, restore the deleted question, and the infract the offending member. The material posted on MHB is a body of knowledge that is a valuable resource for everyone. It is unacceptable to vandalize this resource. Note that a member who deletes a question after getting help casts suspicion of cheating upon themselves. Be careful what you post. Once you post a question or information, it will remain viewable to all members of the public - this includes all staff and students of the institute at which you may study - and may show up on search engines such as Google. It is good etiquette, if you mark your thread as [SOLVED], to post your solution so that others searching MHB will be able to see the solution, and not waste their search time.

I am using discretion here to not lock the topic nor issue an infraction, as I feel you were simply not aware of this policy, nor are you trying to cheat.
 
Re: Addition

Lol HallsofIvy provided no help whatsoever. He was just asking me what I was actually asking. That's why i put solved. I figured out the problem by myself. But I will take note of this rule and adhere to it for the future.

-Sham
 
Re: Addition

shamieh said:
...HallsofIvy provided no help whatsoever. He was just asking me what I was actually asking. That's why i put solved. I figured out the problem by myself. But I will take note of this rule and adhere to it for the future.

-Sham

When a question is unclear, then a good helper will ask for clarification...and this is actually an attempt or effort made to help, because before someone can offer good help, they must understand exactly what is being asked. HallsofIvy has a lot of experience giving help on math forums and so he knows it is better to get clarification than to try to give help based on assumption and interpretation. This can lead to wasted time and effort...something I learned the hard way. :D

It also help make MHB a more informative place, since future readers of the topic will also have no doubt about what is being discussed.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 36 ·
2
Replies
36
Views
682
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
569
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K