From any number system to decimal, you can translate using only the operations of addition and multiplication (according to Horner's scheme). Is there a similar algorithm for translating (using only operations of addition and multiplication) from decimal to other number systems (since Horner does not work in the opposite direction).

    1 answer 1

    Of course have. Here comes the division. Look here or here .

    • You think I do not know how to translate by division? I need a way using only operations of addition and multiplication! - Xerocry
    • one
      instead of dividing by 8, you cannot multiply by 0.125, for example? you take the whole part, and then by subtraction (the inverse of addition, you can also replace) you find the remainder. - spirit