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

[localization] Reformat LaTeX source code. #4436

Merged
merged 1 commit into from Jan 8, 2021
Merged

Conversation

jensmaurer
Copy link
Member

Also add two missing periods and remove one instance
of superfluous whitespace.

Also add two missing periods and remove one instance
of superfluous whitespace.
\item
For a \tcode{double} value, the function \tcode{strtod}.
\item
For a \tcode{long double} value, the function \tcode{strtold}.
Copy link
Contributor

@JohelEGP JohelEGP Dec 27, 2020

Choose a reason for hiding this comment

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

Why not indent each \item text by 2 spaces as required, or just remove the original blank lines between items? Also for the lists below.

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 don't think we've made up our mind on \item source formatting just yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

@zygoloid was ultimately against formatting that was difficult to relocate or regroup, so I think we may be moving away from that rule.

purely for efficiency.
An array of \tcode{char},
rather than an array of \tcode{part},
is specified for \tcode{pattern::field} purely for efficiency.
\end{footnote}

This comment was marked as duplicate.

component of the format
specified by a \tcode{pattern} value \tcode{p},
such that the \tcode{part} value \tcode{static_cast<part>(p.field[i])}
determines the $\tcode{i}^\text{th}$ component of the format
Copy link
Contributor

@JohelEGP JohelEGP Dec 27, 2020

Choose a reason for hiding this comment

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

Suggested change
determines the $\tcode{i}^\text{th}$ component of the format
determines the $\tcode{i}^\text{th}$ component of the format.

1609112121

Comment on lines 2311 to 2325
The numeric value to be stored can be one of:
\begin{itemize}
\item zero, if the conversion function does not convert the entire field.

\item the most positive (or negative) representable value,
\item
zero, if the conversion function does not convert the entire field.
\item
the most positive (or negative) representable value,
if the field to be converted to a signed integer type represents a value
too large positive (or negative) to be represented in \tcode{val}.

\item the most positive representable value,
\item
the most positive representable value,
if the field to be converted to an unsigned integer type represents a value
that cannot be represented in \tcode{val}.

\item the converted value, otherwise.
\item
the converted value, otherwise.
\end{itemize}
Copy link
Contributor

Choose a reason for hiding this comment

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

The capitalization here needs fixing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not in this patch.

@tkoeppe tkoeppe closed this Jan 7, 2021
@tkoeppe tkoeppe reopened this Jan 7, 2021
@tkoeppe tkoeppe merged commit a864d2f into cplusplus:master Jan 8, 2021
@jensmaurer jensmaurer deleted the c2 branch January 8, 2021 08:34
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.

None yet

3 participants