MHB Two's Complement Binary Addition

  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Addition Binary
AI Thread 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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top