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

boost::core::bit_width accepts signed arguments in MSVC #129

Closed
joaquintides opened this issue Sep 21, 2022 · 0 comments
Closed

boost::core::bit_width accepts signed arguments in MSVC #129

joaquintides opened this issue Sep 21, 2022 · 0 comments

Comments

@joaquintides
Copy link
Member

As shown here. Moreover, the result is inconsistent with the documented behavior (for instance, boost::core::bit_width(int(0)) returns -1).

@joaquintides joaquintides changed the title boost::bit_width accepts signed arguments in MSVC boost::core::bit_width accepts signed arguments in MSVC Sep 21, 2022
pdimov added a commit that referenced this issue Sep 21, 2022
pdimov added a commit that referenced this issue Sep 21, 2022
@pdimov pdimov closed this as completed in 66a742f Sep 21, 2022
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

No branches or pull requests

1 participant