Skip to content

Implement LWG-3834 Missing constexpr for std::intmax_t math functions in <cinttypes> - #6426

Merged
Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:mainfrom
StephanTLavavej:inttypes
Sep 3, 2026
Merged

Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:mainfrom
StephanTLavavej:inttypes

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

Fixes #6414. (Needs a compiler change to fully take effect.)

There will be a simple merge conflict with #6425 in the test, which I have pre-resolved with a commented-out /* CONSTEXPR_CMATH23 */.

Copilot AI balanced review requested due to automatic review settings August 31, 2026 21:43
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the LWG Library Working Group issue label Aug 31, 2026
@github-project-automation github-project-automation Bot moved this to Initial Review in STL Code Reviews Aug 31, 2026
@azure-pipelines

This comment was marked as resolved.

This comment was marked as resolved.

@StephanTLavavej

Copy link
Copy Markdown
Member Author

I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required.

@StephanTLavavej

This comment was marked as resolved.

This comment was marked as resolved.

Comment thread tests/std/tests/P0533R9_constexpr_for_cmath_and_cstdlib/test.cpp
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Final Review to Merging in STL Code Reviews Sep 3, 2026

This comment was marked as resolved.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 1d47762 into microsoft:main Sep 3, 2026
48 checks passed
@github-project-automation github-project-automation Bot moved this from Merging to Done in STL Code Reviews Sep 3, 2026
Charlie Lin (clin1234) pushed a commit to clin1234/STL that referenced this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

LWG-3834 Missing constexpr for std::intmax_t math functions in <cinttypes>

3 participants