Skip to content

Commit 82b8ce6

Browse files
jensmaurertkoeppe
authored andcommitted
[numerics] Use absolute-value markers in math mode. (#1566)
Fixes #1537.
1 parent 3323a24 commit 82b8ce6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/numerics.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9690,10 +9690,10 @@
96909690
\begin{itemdescr}
96919691
\pnum
96929692
\requires
9693-
\tcode{|m|} and \tcode{|n|} shall
9693+
$|\tcode{m}|$ and $|\tcode{n}|$ shall
96949694
be representable as a value of \tcode{common_type_t<M, N>}.
96959695
\begin{note} These requirements ensure, for example,
9696-
that \tcode{gcd(m, m) = |m|} is representable as a value of type \tcode{M}. \end{note}
9696+
that $\tcode{gcd(m, m)} = |\tcode{m}|$ is representable as a value of type \tcode{M}. \end{note}
96979697

96989698
\pnum
96999699
\remarks
@@ -9703,7 +9703,7 @@
97039703
\pnum
97049704
\returns
97059705
Zero when \tcode{m} and \tcode{n} are both zero.
9706-
Otherwise, returns the greatest common divisor of \tcode{|m|} and \tcode{|n|}.
9706+
Otherwise, returns the greatest common divisor of $|\tcode{m}|$ and $|\tcode{n}|$.
97079707

97089708
\pnum
97099709
\throws
@@ -9721,9 +9721,9 @@
97219721
\begin{itemdescr}
97229722
\pnum
97239723
\requires
9724-
\tcode{|m|} and \tcode{|n|} shall
9724+
$|\tcode{m}|$ and $|\tcode{n}|$ shall
97259725
be representable as a value of \tcode{common_type_t<M, N>}.
9726-
The least common multiple of \tcode{|m|} and \tcode{|n|}
9726+
The least common multiple of $|\tcode{m}|$ and $|\tcode{n}|$
97279727
shall be representable as a value of type \tcode{common_type_t<M,N>}.
97289728

97299729
\pnum
@@ -9734,7 +9734,7 @@
97349734
\pnum
97359735
\returns
97369736
Zero when either \tcode{m} or \tcode{n} is zero.
9737-
Otherwise, returns the least common multiple of \tcode{|m|} and \tcode{|n|}.
9737+
Otherwise, returns the least common multiple of $|\tcode{m}|$ and $|\tcode{n}|$.
97389738

97399739
\pnum
97409740
\throws

0 commit comments

Comments
 (0)