0 Users appreciate this thread.
Binary
djl12328 (2012-08-17 04:03:32)I like the binary number system the most. I find it much (MUCH) easier to do math with.
www.dark-isle.weebly.com
SPCOxion (2012-09-03 23:29:21)Sometimes, you'll have a number too big to fit into an eight-digit binary code.
Example arabic number for this: 275
If you have a large number like 275, you might want to consider adding all the numbers up (1+2+4+8+16+32+64+128 = 255) so that you know that it will fit. If the number you'll be using is over 255, then you want to add another number to the left of the grid.
What will this number be?
Let's take the normal grid;
128-64-32-16-8-4-2-1
Take the largest number and multiple it by 2, then put ot in front of the current largest number.
128 x 2 = 256
So, the new grid will be
256-128-64-32-16-8-4-2-1
Now, let's see what 275 will be in Binary.
256-128-64-32-16-8-4-2-1
275-19--19--19-3--3-1-1-0
275 is 100010101 in Binary.
01000010 01100101 01101110
2012-09-05 04:11:39
CoolApps (2012-10-31 22:45:34)When i open up binary files, all i see is unreadable characters *foreveralone*
Newer account: NodePoint
@djl: Math with binary numbers easy? Huh? How would that even work? e_e
Like:
1010001
0010101 -
-----------
0111100
?
10 Years 3DSPlaza!
djl12328 (2012-11-04 03:53:17)I'll do a quick tutorial right here.
Addition:
0110 + 0101 = 1011
The simple rules of it are these.
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0, and carry a one over.
Then there are things like OR, AND, XOR, NAND, and subtraction, which are still simple, but I don't have the time to write it all.
I'll upload a full doc later.
www.dark-isle.weebly.com
Log in to submit a comment
Back to forum: Programming (Python, Java, Delphi/Pascal, C, VB, etc)
New registered users today: 7
Newest registered user: ElegantVulpes
Very nice tutorial.