Strategy and RPG
Link to us
Base-10 Integer to Balanced Tern.zip
- Chuck Mire
Base-10 Integer to Balanced Ternary is a Windows executable. Balanced Ternary is a Base-3 Number System that uses -1, 0, and +1 for its symbols instead of 0, +1, and +2. A letter is substituted for -1 such as the letter "T" or "Z". In my program, I used the symbol set Z, 0, and 1. Whether the Base-10 Integer is positive or negative, when converted to Balanced Ternary, the results incorporate the sign. Unlike a binary value which signified Yes/No or On/Off the Balanced Ternary allows for a third choice: Yes/No or On/Off PLUS a third value such as "Undetermined". The zip file contains the Windows executable, the source code and a PDF explaining the algorithm as well as screen shots.
Source included - QB64 - 1.33 MB - 263 downloads
Comments & Ratings by other people:
Please enter this number: