Skip to content

Short script allowing for the conversion of any integer into the Balanced Ternary number system

License

Notifications You must be signed in to change notification settings

BrandonPacewic/BalancedTernaryConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balanced Ternary Converter

Balanced Ternary is a numeral system similar to Binary that uses a signed-digit representation of numbers. Possible symbols are -1, 0, and 1. Represented in this solution as -, 0, and +.

Whats inside?

  • Basic C++ algorithmic solution to convert any number into the balanced ternary number system.
  • A basic CMake setup for building the project.

Please keep in mind that the complexity of this solution was intentionally increased as a learning exercise, more efficient solutions are possible.

About

Short script allowing for the conversion of any integer into the Balanced Ternary number system

Resources

License

Stars

Watchers

Forks