Keydrops Go Here!

WhatNitrous

Well-known member
Messages
23,467
Points
113
I was actually impressed I understood it even if it took me 3-4 readings.. Tehehehe

Though this is just the tip of the iceberg when it comes to this xD

Divide any decimal number by 2 repeatedly until you get zero and take the remainder... you get binary in reverse order.

11 ÷ 2 = 5 (remainder of 1)
5 ÷ 2 = 2 (remainder 1)
2 ÷ 2 = 1 (no remainder, so 0)
1 ÷ 2 = 0 (remainder 1, technically .5 rounds up)

1011²

remember, the last number divided is the first digit, since its reversed.

2 ÷ 2
and
1 ÷ 2

Can be confusing in your head, but as long as you remember that, larger numbers are simple since you don't generally need to concern yourself with the decimal point. Even numbers will be 0, odd numbers will be 1.

Converting back is a bit more confusing.

Digit * base^position (put simply)

starting from the right of 1011

1 - position 0
1 - position 1
0 - position 2
1 - position 3

Binary is base 2, Decimal is 10, etc.

1 * 2^0 = 1
1 * 2^1 = 2
0 * 2^2 = 0
1 * 2^3 = 8

8 + 4 + 2 = 11

Now you can turn that tip of an iceberg into what sunk the titanic...if you actually have any interest.

All conversions can be done with the same general math, but I'm not going to write a (nother) article here, especially getting into hex letters.

I apologize to the entire user base that doesn't give a shit for posting this in the forum lol.
 

A guy (what did you expect?)

Well-known member
Messages
489
Points
93
Divide any decimal number by 2 repeatedly until you get zero and take the remainder... you get binary in reverse order.

11 ÷ 2 = 5 (remainder of 1)
5 ÷ 2 = 2 (remainder 1)
2 ÷ 2 = 1 (no remainder, so 0)
1 ÷ 2 = 0 (remainder 1, technically .5 rounds up)

1011²

remember, the last number divided is the first digit, since its reversed.

2 ÷ 2
and
1 ÷ 2

Can be confusing in your head, but as long as you remember that, larger numbers are simple since you don't generally need to concern yourself with the decimal point. Even numbers will be 0, odd numbers will be 1.

Converting back is a bit more confusing.

Digit * base^position (put simply)

starting from the right of 1011

1 - position 0
1 - position 1
0 - position 2
1 - position 3

Binary is base 2, Decimal is 10, etc.

1 * 2^0 = 1
1 * 2^1 = 2
0 * 2^2 = 0
1 * 2^3 = 8

8 + 4 + 2 = 11

Now you can turn that tip of an iceberg into what sunk the titanic...if you actually have any interest.

All conversions can be done with the same general math, but I'm not going to write a (nother) article here, especially getting into hex letters.

I apologize to the entire user base that doesn't give a shit for posting this in the forum lol.
e7a2b3f396a7670376fd044cae54beea.jpg
 

WhatNitrous

Well-known member
Messages
23,467
Points
113
No no it's very interesting, really! But algebra in other language than my mother tongue it's difficult :LOL:

Too bad google translate doesn't have English to Programmer lmao.

Being real, I completely understand...which is why I said sorry...most people don't want my blog on here.

Its a 'bit' of a problem I have when I start talking code,

Someone put a Hex on me! I swear! haha.
 
Top