Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brandonpacewic/balancedternaryconverter

Short script allowing for the conversion of any integer into the Balanced Ternary number system
https://github.com/brandonpacewic/balancedternaryconverter

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.