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

Subclause [stdfloat.syn] is oddly disconnected #5714

Closed
tkoeppe opened this issue Aug 6, 2022 · 3 comments · Fixed by #5851
Closed

Subclause [stdfloat.syn] is oddly disconnected #5714

tkoeppe opened this issue Aug 6, 2022 · 3 comments · Fixed by #5851
Assignees

Comments

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 6, 2022

We should either start a new subsection "Floating-point types" with additional wording, perhaps relating to C, or otherwise perhaps we can rename "Integer types" to "Numeric types" (or "Arithmetic types") and have both <cstdint> and <stdfloat> in it.

@tkoeppe
Copy link
Contributor Author

tkoeppe commented Aug 6, 2022

@AaronBallman Do you expect us to gain more wording in C++ regarding floating point types once we rebase on C23? Would it be better to have two distinct sections for integer and floating-point types, or can we combine them into a single section?

@JohelEGP
Copy link
Contributor

JohelEGP commented Aug 6, 2022

The originating comment: #5670 (comment).

@AaronBallman
Copy link
Contributor

@AaronBallman Do you expect us to gain more wording in C++ regarding floating point types once we rebase on C23?

Yes, C23 adds new floating-point types to the core language (decimal floating-point types) and a pile of new C library functions for the new types.

Would it be better to have two distinct sections for integer and floating-point types, or can we combine them into a single section?

My intuition is that two sections is going to be more workable in the long run. C23 also added checked integer math in its own header, as an example.

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 a pull request may close this issue.

3 participants