Who wants to know how to calculate in binary, the easy way?

Joshua21136

Member
OP
Newcomer
Joined
Aug 29, 2010
Messages
24
Trophies
0
XP
40
Country
United States
When I first started to learn binary I though of this weird but true theory, the theory was to count in binary I much as I did and label each number in binary with a number in decimal from 1 and up and so on. Counting in binary can confuse your head for about 30 minutes after you stop but that's no big deal just as long as you know both numeral systems. I have a few scans of papers that I worked on in school (5 Sheets of paper), I will upload links to them if I get any replies, that way you don't have to spend about 2 hours counting in binary up to 11111111 (256th number). Even I am amazed at my work, I'm in seventh grade and I already know how to count, add, subtract, multiply, and divide in binary, you will have the oppertunity to do the same in this topic. Binary is a really fun numeral system!!!
 

ShadowSoldier

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
9,382
Trophies
0
XP
3,878
Country
Canada
QUOTE said:
I already know how to count, add, subtract, multiply, and divide in binary,

But... why? Like, what good will it do? Someone correct me if I'm wrong, but are there any jobs that require Binary at all or anything?
 

Costello

Headmaster
Administrator
Joined
Oct 24, 2002
Messages
14,209
Trophies
4
XP
19,863
did you know you could count up to 1,024 with the fingers of your hand? if you assign 1 bit to each of your fingers.
and malformed people with 11 fingers, the lucky bastards, can count up to 2,048

oh and it gets better if you use your toes... count up to 1,048,576 !
 

MFDC12

Well-Known Member
Member
Joined
Oct 12, 2007
Messages
822
Trophies
1
Age
32
XP
937
Country
United States
Gus, does it matter if it is needed or not? I know tons of Pi by heart (first 23 numbers, nothing much but its still growing), and will I ever need anything besides 3.14 for really anything I do? The amount of significant figures that I've came across by (really only 3 usually) says no, but its still fun to tell people they can do things like this (numbers of Pi, count/divide/multiply/subtract/etc numbers of binary).

Thats really a feat, Joshua21136, I don't think I could ever do it
smile.gif
 

Pyrmon

Burnin' Monkey Love
Member
Joined
Sep 25, 2010
Messages
1,086
Trophies
0
Age
29
Location
Montreal
Website
Visit site
XP
285
Country
Canada
MFDC12 said:
Gus, does it matter if it is needed or not? I know tons of Pi by heart (first 23 numbers, nothing much but its still growing), and will I ever need anything besides 3.14 for really anything I do? The amount of significant figures that I've came across by (really only 3 usually) says no, but its still fun to tell people they can do things like this (numbers of Pi, count/divide/multiply/subtract/etc numbers of binary).

Thats really a feat, Joshua21136, I don't think I could ever do it
smile.gif
This
And I know the first 115 digits of Pi by hearth. People look at me weirdly when I tell them that, except my math teacher
smile.gif
 

The Pi

Lurker
Member
Joined
Mar 18, 2010
Messages
1,637
Trophies
1
Location
Scotland
XP
410
Country
I agree with MFDC12 it's something you do for the sake of it, Like memorising digits of Pi or e or even solving a rubik's cube it's not going to save your life but it's a good time waster.
smile.gif
 

FireGrey

Undercover Admin
Member
Joined
Apr 13, 2010
Messages
3,921
Trophies
1
Website
www.youtube.com
XP
1,291
Country
10011
10111
__________
10011
10011
10011
00000
10011
__________

1
0 carry 1
1 carry 1
0 carry 1
1 carry 1
1 carry 1
0
1

So this multiplication is correct, right?

EDIT: So i calculated it on paper again and got the right answer, 110110101.
in my early calculation it only had 8 digits, weird...
 

Frederica Bernkastel

Well-Known Member
Member
GBAtemp Patron
Joined
Jan 31, 2008
Messages
3,169
Trophies
2
Age
29
Location
Hinamizawa
XP
1,009
Country
Japan
@pyrmon24 @MFDC12 in regards to pi, I know the first 30 digits or so - nothing really too special, and you're right, it's just a good timewaster.
Joe88 said:
unit conversion tool will do this so there is no need
what's to say he'll have access to a computer when he needs to count in base2?

Binary itself is a pretty cool thing, it's easy to do and helps with understanding mathematical concepts (base10 doesn't quite cut it for everything).
still, I'm pretty impressed, you're better at it than I am.
 

Joshua21136

Member
OP
Newcomer
Joined
Aug 29, 2010
Messages
24
Trophies
0
XP
40
Country
United States
Sorry for not answering for quite a while, my computer hasen't been letting me get on gbatemp. I posted this thread/topic or whatever you want to call it because I had just learned an easier simpiler way to calculate in binary. It all started on February 17th when I had the bright idea to tell my math teacher about the binary numeral system, that whole day I spent writing down the numbers/bits of binary from 1 and up, it took me about 2 hours, but at the end of the day, I had finally counted up to the 256th number/bit in binary, 11111111, while I was writing the numbers/bits down I thought of a theory, an odd theory, but a theory, the theory was to assign each binary number/bit to a decimal number, and whatever happened to the decimal number happened to the binary number, the theory looked like this,
2 = 10
3 = 11
6 = 110
so 10 * 11 = 110 or 110 / 11 = 10
because 2 * 3 = 6 and 6 / 3 = 2
anyway that was what the theory looked like, fortunatly, my theory was correct! The next day I told my math teacher that my theory was correct, she was amazed, partially because all of this went in one ear and out the other to her, and secondly because binary is hardly ever thought of anymore even though we use it in every day life. I was excited, so I decided to share the information, then I tried to teach some of my friends about binary, one of them caught on right after they knew how to count, as for the others, I don't think they cared much, except my science teacher, my P.E. teacher, my math teacher and a few others. So as I posted earlier, I would post some pictures of my work (scans really), and well, here they are, at this folder, http://www.mediafire.com/?ix39974zm8llc

Costello said:
did you know you could count up to 1,024 with the fingers of your hand? if you assign 1 bit to each of your fingers.
and malformed people with 11 fingers, the lucky bastards, can count up to 2,048

oh and it gets better if you use your toes... count up to 1,048,576 !
Well, actually having 11 fingers is a dominate trait, however not many people have 11 fingers because not many people have biological parents with 11 fingers.

QUOTE(FireGrey @ Feb 26 2011, 03:38 PM) 10011
10111
__________
10011
10011
10011
00000
10011
__________

1
0 carry 1
1 carry 1
0 carry 1
1 carry 1
1 carry 1
0
1

So this multiplication is correct, right?

EDIT: So i calculated it on paper again and got the right answer, 110110101.
in my early calculation it only had 8 digits, weird...
Yes, that mutiplication is correct. I've seen how to calculate directly, but it looked a little too difficult, so I found a solution/alternative.
 

The Ey Man

Active Member
Newcomer
Joined
Apr 7, 2010
Messages
39
Trophies
0
Age
29
XP
73
Country
I've never really been introduced to the binary number system thing myself (although it's possible now with google).
But I do know about 40 or 50 digits of Pi, so I do find numbers interesting...
Yes, there's no point in doing that but it's more of a "why not" thing actually. Entertainment... possibly...?
 

Joshua21136

Member
OP
Newcomer
Joined
Aug 29, 2010
Messages
24
Trophies
0
XP
40
Country
United States
The Ey Man said:
I've never really been introduced to the binary number system thing myself (although it's possible now with google).
But I do know about 40 or 50 digits of Pi, so I do find numbers interesting...
Yes, there's no point in doing that but it's more of a "why not" thing actually. Entertainment... possibly...?
Knowledge. I treat knowledge like something that I would prise most of all, because the more knowledge that you have, the more things you can do. However, if you do not know how to use that knowledge, it is useless.
 

The Pi

Lurker
Member
Joined
Mar 18, 2010
Messages
1,637
Trophies
1
Location
Scotland
XP
410
Country
Well the "proper" way to do it is using long multiplication/division

multiplication: say 101010101 * 1010101

101010101
1010101
x
_____________________
101010101*1
101010101*00
101010101*100
101010101*0000
101010101*10000
101010101*000000
101010101*1000000
+
__________________________
101010101
10101010100
1010101010000
101010101000000
+
__________________________
111000100111001

(bit of a brainfuck trying to do that on a computer easier on paper)
Can't be bothered with division just now
tongue.gif
 

The Ey Man

Active Member
Newcomer
Joined
Apr 7, 2010
Messages
39
Trophies
0
Age
29
XP
73
Country
Joshua21136 said:
The Ey Man said:
I've never really been introduced to the binary number system thing myself (although it's possible now with google).
But I do know about 40 or 50 digits of Pi, so I do find numbers interesting...
Yes, there's no point in doing that but it's more of a "why not" thing actually. Entertainment... possibly...?
Knowledge. I treat knowledge like something that I would prise most of all, because the more knowledge that you have, the more things you can do. However, if you do not know how to use that knowledge, it is useless.

Yepp, but useless knowledge isn't always useless. It's always good to practise memorizing to help train your brain. Sounds weird, but the useless memorizing can be helpful in the end
smile.gif
 

Joshua21136

Member
OP
Newcomer
Joined
Aug 29, 2010
Messages
24
Trophies
0
XP
40
Country
United States
If you know how to count in binary and in decimal, you can do anything in binary, once all of the bits to the right of the first 1 from left to right are all 1s that whole group of numbers (bytes, maybe?) get one more bit added on (specifically 1) to the left outermost part part of the whole number and then the all of the 1s to the right of that 0 (in our last whole group of numbers) get changed to 0s. Like this:
01111
10000
The 0 on the top number is not needed when writing bits, I just put it there to illustrate a point.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if that was the point of game streaming
  • Psionic Roshambo @ Psionic Roshambo:
    But it's a dead end
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
    BigOnYa @ BigOnYa: That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to... +1