- #1
battery2004
- 9
- 0
Hello,
I found one excercise - convert a rational number 63/64(base - 10) to a number system with a base of 4 using Radix conversion.
Searching throught the internet i found this formula (i hope it`s the correct one :) ) -
http://img255.imageshack.us/img255/903/races3.jpg
Unlike integer type conversion formula, this is a little unclear. As i understand - the "C" is the number that i want to convert and "r" is the new base, but how many steps do i need to perfom (in the formula i = -1,-2,-3,-4...-n )? And how exactly do i sum these coefficients C?
Thanks in advance.
I found one excercise - convert a rational number 63/64(base - 10) to a number system with a base of 4 using Radix conversion.
Searching throught the internet i found this formula (i hope it`s the correct one :) ) -
http://img255.imageshack.us/img255/903/races3.jpg
Unlike integer type conversion formula, this is a little unclear. As i understand - the "C" is the number that i want to convert and "r" is the new base, but how many steps do i need to perfom (in the formula i = -1,-2,-3,-4...-n )? And how exactly do i sum these coefficients C?
Thanks in advance.
Last edited by a moderator: