Skip to content

Direct base-to-base conversion (2→62) in C++. Extensible to base 2→any base. Exact integer/fractional precision.

License

Notifications You must be signed in to change notification settings

darshangouda/BaseConversionAlgorithm

Repository files navigation

BaseConversionAlgorithm

This repository provides a C++ implementation of a direct base-to-base conversion algorithm supporting arbitrary bases from 2 to 62. The algorithm converts numbers directly from source base (B_1) to target base (B_2) without intermediate decimal conversion, maintaining exact precision for both integer and fractional parts using integer-only array-based arithmetic. The core method can be extended to support base 2 input to any target base. See the accompanying paper for full theoretical details and extension possibilities.

Paper: "Direct Base-to-Base Conversion Algorithm: Integer and Fractional Parts with Array-Based Arithmetic"
Zenodo: DOI

About

Direct base-to-base conversion (2→62) in C++. Extensible to base 2→any base. Exact integer/fractional precision.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages