Username:
Password:
Remember me:
Register

Back to forum: Programming (Python, Java, Delphi/Pascal, C, VB, etc)


Search forums via Google


0 Users appreciate this thread.

Binary
Started by tcg77
(2012-08-06 10:27:04)
djl12328 (2012-08-11 05:27:07)
Very nice tutorial.
www.dark-isle.weebly.com
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 21:44:41)
00001011

Eleven?
djl12328 (2012-09-03 23:17:50)
Yep -Proxion
www.dark-isle.weebly.com
SPCOxion (2012-09-03 23:29:21)
Larger numbers

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

This post has been edited one or more times, the last time was:
2012-09-05 04:11:39

djl12328 (2012-09-04 00:26:58)
You would add more digits.
www.dark-isle.weebly.com
SPCOxion (2012-09-04 16:50:27)
K.

1111011001101111000

One million?


CoolApps (2012-10-31 22:45:34)
When i open up binary files, all i see is unreadable characters *foreveralone*
Newer account: NodePoint
Robdeprop (2012-11-01 16:26:07)
@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

This topic's ID: 27230

Back to forum: Programming (Python, Java, Delphi/Pascal, C, VB, etc)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved