Skip to content

Conversation

eisenwave
Copy link
Member

@eisenwave eisenwave commented Oct 9, 2025

Fixes cplusplus/nbballot#891.

The parameter indentation in the subclause is broken in four different ways:

  • In the first block with exchange, fetch_max, etc. it looks like constexpr was added without adding then necessary indentation to the second line of the declaration, resulting in misalignment.
  • For store_fmaximum and some others, an attempt was made to align the parameters, but unsuccessfully.
  • In the definition of fetch_key, there is one space too much indentation, and we forgot to use placeholdernc rather than placeholder.
  • In the definition of store_key, we just used two-space indentation rather than trying to align parameters at all.

@eisenwave eisenwave added the ballot-comment Response to an NB or ISO comment on a ballot label Oct 9, 2025
Comment on lines -5447 to +5459
memory_order = memory_order::seq_cst) noexcept;
@\placeholdernc{floating-point-type}@ fetch_fmaximum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) volatile noexcept;
constexpr @\placeholdernc{floating-point-type}@ fetch_fmaximum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) noexcept;
@\placeholdernc{floating-point-type}@ fetch_fminimum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) volatile noexcept;
constexpr @\placeholdernc{floating-point-type}@ fetch_fminimum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) noexcept;
memory_order = memory_order::seq_cst) noexcept;
@\placeholdernc{floating-point-type}@
fetch_fmaximum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) volatile noexcept;
constexpr @\placeholdernc{floating-point-type}@
fetch_fmaximum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) noexcept;
@\placeholdernc{floating-point-type}@
fetch_fminimum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) volatile noexcept;
constexpr @\placeholdernc{floating-point-type}@
fetch_fminimum_num(@\placeholdernc{floating-point-type}@,
memory_order = memory_order::seq_cst) noexcept;
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to make some pretty drastic changes in this place unfortunately.

floating-point-type fetch_fmaximum_num(floating-point-type,
                                       memory_order = memory_order::seq_cst) volatile noexcept;

... wouldn't have onto the page, by a handful of characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ballot-comment Response to an NB or ISO comment on a ballot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

US 197-316 32.5.8.4 [atomics.types.float] Fix indentation

1 participant