-
Notifications
You must be signed in to change notification settings - Fork 4
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
Let ApInt::resize_to_bool just return the least-significant bit (should be faster) #42
Comments
There are the following least and most significant functions right now:
and related to these are:
I will check that these are optimized, but should I remove some of these (e.g. |
I was looking at the |
Maybe I should let the current functionality be, specify that "Returns |
Reminder to myself that advanced slice matching is going to be stabilized, so I can use stuff like
|
Even though I usually like verbose member functions, I think we want to use hungarian notation for these cases of accessing the most and least significant bits:
Maybe
|
Sounds good about |
I think there should be one standard way of getting the least significant bit. When dealing with regular integers, I always think of it in terms of the least significant bit. |
Actually, we can keep |
No description provided.
The text was updated successfully, but these errors were encountered: