https://github.com/kolosovpetro/bit-converter
May be not so simple bit converter
https://github.com/kolosovpetro/bit-converter
Last synced: 8 months ago
JSON representation
May be not so simple bit converter
- Host: GitHub
- URL: https://github.com/kolosovpetro/bit-converter
- Owner: kolosovpetro
- Created: 2020-10-10T13:10:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-18T17:53:16.000Z (almost 5 years ago)
- Last Synced: 2025-01-16T06:15:40.887Z (9 months ago)
- Language: C#
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bit Converter
Converts the numbers from one numerical system to another. Supports bases: 2, 8, 10, 16.
It works this way: Input A with base A1 is being converted to decimal D1.
After that decimal D1 is being converted to designed base by division## How number abstaction organized?
Number is represented as string: integer part, string: float part, int: base, separated by comma or dot.
## To Do
- Cover with tests, sepatared by folders, named properly
- Binary number tests for all formats
- Octal number tests for all formats
- Decimal number tests for all formats
- Hexadecimal number tests for all formats- Document functions with input format
- Create abstraction layers over Binary, Octal, Decimal, Hexadecimal numbers. Each partial case NumberModel(data, base).