![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Hexadecimal
Can you guys give me a had with this addition, I CAN'T FIGURE IT OUT
AE 2A __ |
|
|
|
|
|
#2 |
|
Newbie
Join Date: May 2006
Posts: 28
Rep Power: 0
![]() |
D8,
Try using calculator and switching it to scientific mode. AE = 174 2A = 42 D8 = 216 As for the actual way to add hex numbers, I cant remember, but im sure google will help |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Same way you do it in decimal, Edgar, but it isn't drilled into you like that, so it's no fun. You know that 5 + 3 = 8, because you committed it to memory. You can also do it the 'hard way'. Five anna 1 is 6 anna 1 is 7 anna 1 is 8. Same with hex. E + A = 8, carry the 1. If you convert beforehand you have to convert back, which is a pain. So is doing it in the hard way: E anna 1 = F anna 1 = 0 (carry the 1, 10) anna 2 = 11 .... blah blah, BS. For me, the best thing to do is just memorize the stuff and go with it. Since you don't have to live with it on a daily basis before the invention of such calculators, you probably just wanna go that route.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#4 |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Thank You
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|