Skip to content

chapter 3 changes#2

Open
raghuvarapadma wants to merge 1 commit into
mainfrom
chapter-3-review
Open

chapter 3 changes#2
raghuvarapadma wants to merge 1 commit into
mainfrom
chapter-3-review

Conversation

@raghuvarapadma
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread _parts/part03.md
2. Let sum = 0 and base = 0
3. Multiple the current digit position by $$2^{base}$$
2. Let sum = 0
3. Multiple the current digit position by $$2^{value of digit}$$
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confused by the changes for this conversion algorithm. How does one interpret "value of digit"

Comment thread _parts/part03.md

| Computing X+Y | | | | |
|---|---|---|---|---|
| Carry-Over | 1 | 1 | 1 | |
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the meaning of this added line; How does it differ from what is on line 149?

Comment thread _parts/part03.md
I will paste the same exact table as from above but for this example, with the difference being that this is binary arithmetic instead of decimal arithmetic. You can verify by converting the two values to decimal and then asserting that the sum of their decimal values is the same value you get when you convert their binary sum, $$110_2$$, to decimal.

| Computing X+Y | | | |
| Carry-Over | | 1 | |
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment above here. Now that I'm rereading my original writing im seeing that what I wrote does not make clear sense (i.e. the carry row shouldn't that be No Yes No) but also even then do you think this row should be boolean values or binary values?

Comment thread _parts/part03.md
| + | 1 | 0 |
| - | 0 | 9 |
| **=** | **1** | **0** |

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay it took me a little bit to understand what was going on here. Do you think it would be more useful to add a line above the table along the lines of "Showing how incrementing a number can be accomplished by first adding ten to the base number followed by subtracting 9"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants