generated from saxbophone/CPP20-Cross-Platform-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Get Nat as sequence of bits (and construct from bits) #121
Labels
enhancement
New feature or request
Comments
Dropped from v0.5 milestone —if we're going to read bits, we should probably support writing them (via ctor) too, that is too much work for the meagre benefit right now. |
saxbophone
changed the title
Get Nat as sequence of bits
Get Nat as sequence of bits (and construct from bits)
Jun 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can use
std::bitset
to take a shortcut when converting to bits (make a bitset for each digit and read bits out of them in sequence).Related to #83, #114
The text was updated successfully, but these errors were encountered: