I recently learned that 65535 equals to FFFF in hexadecimal numbers or something; could you please tell me more on the subject?
How does it work?
Printable View
I recently learned that 65535 equals to FFFF in hexadecimal numbers or something; could you please tell me more on the subject?
How does it work?
When in doubt, ask the giant brains.
When in doubt, and lost in that doubt, the giant brains will even direct the feeble minded to the appropriate node.
A better response, quoted from wiki - In mathematics and computer science, hexadecimal, base-16, or simply hex, is a numeral system with a radix, or base, of 16, usually written using the symbols 0–9 and A–F, or a–f. For example, the decimal numeral 79, whose binary representation is 01001111, is 4F in hexadecimal (4 = 0100, F = 1111). IBM introduced the current hexadecimal system to the computing world; an earlier version, using the digits 0–9 and u–z, had been introduced in 1956, and had been used by the Bendix G-15 computer.
Well yeah, this is the basics. There are different systems of using hex. the wiki article seems to cover enough of em. lol
I hope this forum isn't turning into t3h sarcasm headquarters now. :eep:
Oh well, thanks, I guess. :choc2:
never.
Hex is simple you just count liek this:
1234567890ABCDEF
normally you would say:
12345678910111213141516
65535 equals to FFFF == false
Actually it's 0123456789ABCDEF. Hex is present because it's an organised way of representing groups of bits, specifically groups of four bits, since all zero's = 0 and all 1's are equal to F. If you had five bits it would have to go up to and past Z to represent it, and with three bits you need only go as far as 8 (which coincidentally there is a representation for in the form of Octagonal numbers which are Base-8).
:D thanks, I do that all the time. Working with a BPM that counts it thusly: 1234567890abcdef; so now I am scarred for life.
It is like those lovely VB6 engineers who think array's start with 1 :confused:
sides, it is all about the aquadrosexagesimal AKA, programmer foursomes.
You know how you count in base 10 (10, 100, 1000)
well in Hex you count in base 16 (16 , 32, 48, 64, etc)
ok?
Since there's no 16 since digits (0123456789) they have to add alphabets (0123456789ABCDEF)
So that's how hex works.
position 0 + 16 x position 1 + 16x16 x position 2...
255 will be
= 2 x 16 x 16 + 5 x 16 + 5
= 512 + 80 + 5
= 597
the same goes for numbers with more than 3 digits
4th digit x 16 x 16 x 16
5th digit x 16 x 16 x 16 x 16
so on...
How do you know about the hexadecimal system, Renmiri? It doesn't sound like a motherly thing to know.
Sound like a basic understanding, it seems.
Also known as Base-16.
You didn't find a certain hexadecimal number that starts with 09 and ends with F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0?
EoFF is turning into a school or something recently. :bigsmile:
65536 = FFFF
16 x 16 x 16 x 16 = 65536
hexidecimal jsut reminds me of tetra master
They equal 24 which is the number of hours in a day and also a popular television show on Fox. 2 + 4 = 6, the first number in the series!
CONSPIRACY!
it is the largest number that can be represented in binary countin - i think. So in that case 65535 is to binary what FFFFFF is to hex.
edit: That is prolly why max PMS are at that number levi. Programmers always run into that number on more structured (and powerful ) languages. This does not include VB developers. They are not programmers. :cool:
2^16 is 65536, so 65535 is the largest number you can store in two bits. 15 to store the digits and 1 to store the information about the file.
6*9 = 42... in Base 13. Anyone who knows why I said that gets a cookie.
Gimme the cookie then.
I like the Base-Π number system :p
Life was just binary until women came along :greenie: