@Saurabh: Implement a long division algorithm using the original base.
Divide the number by the second base. Convert the remainder to a
single digit in the new base. This is the low-order digit. Apply this
divide and convert algorithm to the successive quotients to get the
successive digits.

Dave

On May 21, 5:18 am, saurabh agrawal <saurabh...@gmail.com> wrote:
> Hi, can someone give an algorithm to directly convert a number in a given
> base to a number in another base,  without converting it into some another
> intermediate base.
>
> I have done that using some numerical analysis techniues, but dont remember
> now.
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to