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

constexpr simplification #180

Closed
wants to merge 7 commits into from
Closed

constexpr simplification #180

wants to merge 7 commits into from

Conversation

chfast
Copy link
Owner

@chfast chfast commented Oct 21, 2020

No description provided.

@chfast chfast marked this pull request as draft October 21, 2020 11:01
@chfast chfast force-pushed the is_constant_evaluated branch from 1dfecbd to 0efdfbe Compare October 21, 2020 11:08
@codecov-io
Copy link

Codecov Report

Merging #180 into master will decrease coverage by 1.22%.
The diff coverage is 63.33%.

@@             Coverage Diff             @@
##            master     #180      +/-   ##
===========================================
- Coverage   100.00%   98.77%   -1.23%     
===========================================
  Files            9        9              
  Lines         2285     2286       +1     
===========================================
- Hits          2285     2258      -27     
- Misses           0       28      +28     

const auto p = builtin_uint128{x} * y;
return {uint64_t(p >> 64), uint64_t(p)};
#pragma GCC diagnostic pop
#elif defined(_MSC_VER)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this MSVC version removed?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I decided it is not critical to have it fast on msvc.

@gumb0 gumb0 mentioned this pull request Mar 1, 2021
@chfast chfast closed this Apr 1, 2021
@chfast chfast deleted the is_constant_evaluated branch April 1, 2021 12:58
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.

3 participants