Gain Immediate access to our Essays
FREE access exchanged for your work, or pay £4.99
Words: | Submitted: Wed Jun 22 2005
... significantly reduce the size of a number. For example: The decimal (10 base) number '123456789' is 9 characters long. In binary (2 base) the equivalent number is '111010110111100110100010101' is 27 characters long. In Hex (16 base) the equivalent number is '75BCD15' is 7 characters long. Hex is used for a many different things, such as memory addresses, and colours (hex values of them) also URL encoding. The reason hex is used instead of decimal is the value which can be stored in a number of characters in hex is much greater than that of decimal. for instance, a 4 digit number in decimal can store 9999 possible values. When you use hex for a 4 digit number there are 65536 possible values. Hex reduces the amount of numbers in a decimal number. This can make it shorter and is often easier to type in. in assembly language code because of this. Floating Point Numbers The floating point ...
FREE access exchanged for your work, or pay £4.99