-
Notifications
You must be signed in to change notification settings - Fork 31
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
Relax most constraints on binary digit count #7
Comments
This is also needed if |
I'm curious to know three things:
|
To 1: This also touches on point 3 since, if I move to
To 2:
To 3: At the moment, I need to study up on 3 a bit. And I do not really want to tackle that at the moment, as my brain needs to figure out an easy way to program the masking and shifting. Anyway i hope i answered some stuff, and ultimately, this does motivate me to re-open the ticket. |
Great answers, thanks! I'll concentrate on 3...
No hurry here. Just some speculation and to join in the activity of figuring out.
That leads on to an important clarifying question: are there any operations or algorithms (e.g. the ones you mention) which benefit from knowing the exact number of bits the user requires? IOW, are there operations which will be faster if you didn't round up |
There is no perceived interest in this warranting the coding effort. Closed with no intent to re-open. |
Relax most of the constraints on the binary digit count allowed in
uintwide_t
. Add support for bit counts that also contain fractional parts of a limb such asuint99_t
, etc. To be decided is storage left-shifted to MSB or resting on the LSB.The text was updated successfully, but these errors were encountered: