Algorithm for converting other bases to decimal
Algorithms for Number Conversions
Algorithm for converting other bases to decimal (Multiplication Rule)
1. Multiply the right most digit with the base raised to the power of 0.
2. Multiply the next left digit with the base raised to the power of 1
3. Continue multiplying the digits to the left with the base in the order of increasing powers.
4. Add the answers of the above steps to get the final answer.
Algorithm for converting decimal to other bases (Division Rule)
1. While (the quotient is not zero)
2. Divide the decimal number by the new base
3. Make the remainder the next digit to the left in the answer
4. Replace the original decimal number with the quotient
Algorithm for converting binary to Hexadecimal (Group by Four)
1. Make groups of four (from right)
2. Convert each group to equivalent value of hexadecimal (use number chart)
Algorithm for converting binary to Octal (Group by three)
1. Make groups of three(from right)
2. Convert each group to equivalent value of hexadecimal
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- computer networking mat 379
- si202 week 1
- reminders carnegie mellon school of computer science
- textbook notes on binary representation of numbers
- programming fundamentals openalg
- exercises siue
- mips assembly language programming
- divide and conquer integer multiplication
- algorithm for converting other bases to decimal
Related searches
- software for converting pdf to excel
- other ways to say in other words
- converting percentage to decimal point
- binary coded decimal to decimal converter
- converting binary to decimal calculator
- hexa to decimal value for n
- converting binary to decimal java
- algorithm for lcm
- converting hours to decimal time
- converting binary to decimal python
- converting hex to decimal python
- decimal feet to decimal inches