Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More precise estimation of number of bits. #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xtonik
Copy link
Contributor

@xtonik xtonik commented Jun 7, 2023

Added more precise estimation of number of bits for given number of decimal digits.

It is used for memory allocation of BigSignificand only in production code, so the input values do not exceed 400 nowadays and thus the existing method is enough accurate, but there is a risk of inadequate method reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant