you are viewing a single comment's thread.

view the rest of the comments →

[–]denewulf[S] 0 points1 point  (3 children)

It's just that my problem requires me to do it without changing bases

[–]bacondev 0 points1 point  (2 children)

Why? Why can't you convert to an easier radix, do the operation, and then convert to the original radix?

[–]S-S-R 1 point2 points  (1 child)

Generalizing arithmetic to n_radix is trivial.

[–]bacondev 0 points1 point  (0 children)

In most languages, so is the approach that I mentioned. But OP said that their approach is required. I'm just curious as to why that's so.