Balanced Ternary Division Algorithm
I have been writing a ternary computer emulator, and I have become stuck with the problem of implementing ternary integer division. On the most part, the basic mathematical operations follow the same logic as regular binary or decimal, and indeed division follows that mostly, except that you can't quite do it the same way, due to the possibility of three states and negative numbers, you need to adjust the result based on that. The Wikipedia article for ternary arithmetic is vague at best when talking about this, and there isn't many examples or other articles around. I found one other articles
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.