Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brandonpacewic/balancedternaryconverter
- Owner: BrandonPacewic
- License: mit
- Created: 2021-11-08T21:26:45.000Z (about 3 years ago)
- Default Branch: mega
- Last Pushed: 2023-02-14T16:46:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T21:01:18.330Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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.