Skip to content

[cmath.syn] Enclose \placeholder{floating-point-type} in \tcode #8121

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9819,19 +9819,19 @@

\pnum
For each function
with at least one parameter of type \placeholder{floating-point-type},
with at least one parameter of type \tcode{\placeholder{floating-point-type}},
the implementation provides
an overload for each cv-unqualified floating-point type\iref{basic.fundamental}
where all uses of \placeholder{floating-point-type} in the function signature
where all uses of \tcode{\placeholder{floating-point-type}} in the function signature
are replaced with that floating-point type.

\pnum
For each function
with at least one parameter of type \placeholder{floating-point-type}
with at least one parameter of type \tcode{\placeholder{floating-point-type}}
other than \tcode{abs},
the implementation also provides additional overloads sufficient to ensure that,
if every argument corresponding to
a \placeholder{floating-point-type} parameter has arithmetic type,
a \tcode{\placeholder{floating-point-type}} parameter has arithmetic type,
then every such argument is effectively cast to the floating-point type
with the greatest floating-point conversion rank and
greatest floating-point conversion subrank
Expand All @@ -9845,7 +9845,7 @@

\pnum
An invocation of \tcode{nexttoward} is ill-formed if
the argument corresponding to the \placeholder{floating-point-type} parameter
the argument corresponding to the \tcode{\placeholder{floating-point-type}} parameter
has extended floating-point type.

\xrefc{7.12}
Expand Down