Skip to content

Can we find a better name for "promoted arithmetic type"? #2665

Closed
@timsong-cpp

Description

@timsong-cpp

The term "promoted arithmetic type" is defined by [over.built]p2 to mean "promoted integral types and all floating-point types". It seems suboptimal to say that float is a "promoted arithmetic type" when it is subject to (floating-point) promotion to double.

Activity

jensmaurer

jensmaurer commented on Feb 10, 2019

@jensmaurer
Member

Is this sufficiently editorial? Does it matter sufficiently (we're talking about a local definition in [over.built])? What's the new name?

added
decision-requiredA decision of the editorial group (or the Project Editor) is required.
on Feb 10, 2019
timsong-cpp

timsong-cpp commented on Feb 10, 2019

@timsong-cpp
ContributorAuthor

I don't have a great alternative name right now (or I'd have suggested it). Given that the term appears to be only used four times and all in this subclause, perhaps we can just substitute the definition in those uses and remove the term altogether?

removed
decision-requiredA decision of the editorial group (or the Project Editor) is required.
on Jun 5, 2019
jensmaurer

jensmaurer commented on Jun 5, 2019

@jensmaurer
Member

Editorial meeting: Not enthusiastic about a change in this area. Go with Tim's expansion suggestion for now.

p13: "L and R are each...", also p27

self-assigned this
on Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @timsong-cpp@jensmaurer

    Issue actions

      Can we find a better name for "promoted arithmetic type"? · Issue #2665 · cplusplus/draft