Skip to content

Commit 9e4bba5

Browse files
jensmaurertkoeppe
authored andcommitted
[rand.req.eng] Use \text, not \mbox, in math mode (#1921)
1 parent 1b5e3c9 commit 9e4bba5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/numerics.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,21 +1903,21 @@
19031903
with the same initial state
19041904
as all other default-constructed engines
19051905
of type \tcode{E}.
1906-
& \bigoh{$\mbox{size of state}$}
1906+
& \bigoh{$\text{size of state}$}
19071907
\\ \rowsep
19081908
\tcode{E(x)}
19091909
\indextext{copy constructor!random number engine requirement}
19101910
&
19111911
& Creates an engine
19121912
that compares equal to \tcode{x}.
1913-
& \bigoh{$\mbox{size of state}$}
1913+
& \bigoh{$\text{size of state}$}
19141914
\\ \rowsep
19151915
\tcode{E(s)}%
19161916
\indextext{constructor!random number engine requirement}
19171917
&
19181918
& Creates an engine
19191919
with initial state determined by \tcode{s}.
1920-
& \bigoh{$\mbox{size of state}$}
1920+
& \bigoh{$\text{size of state}$}
19211921
\\ \rowsep
19221922
\tcode{E(q)}%
19231923
\indextext{constructor!random number engine requirement}\footnote{ This constructor
@@ -1996,13 +1996,13 @@
19961996
returns \tcode{true}
19971997
if $ S_x = S_y $;
19981998
else returns \tcode{false}.
1999-
& \bigoh{$\mbox{size of state}$}
1999+
& \bigoh{$\text{size of state}$}
20002000
\\ \rowsep
20012001
\tcode{x != y}%
20022002
\indextext{\idxcode{operator"!=}!random number engine requirement}
20032003
& \tcode{bool}
20042004
& \tcode{!(x == y)}.
2005-
& \bigoh{$\mbox{size of state}$}
2005+
& \bigoh{$\text{size of state}$}
20062006
\\ \rowsep
20072007
\tcode{os << x}%
20082008
\indextext{\idxcode{operator<<}!random number engine requirement}
@@ -2018,7 +2018,7 @@
20182018
by one or more space characters.
20192019

20202020
\postconditions The \tcode{os.}\textit{fmtflags} and fill character are unchanged.
2021-
& \bigoh{$\mbox{size of state}$}
2021+
& \bigoh{$\text{size of state}$}
20222022
\\ \rowsep
20232023
\tcode{is >> v}%
20242024
\indextext{\idxcode{operator>>}!random number engine requirement}
@@ -2049,7 +2049,7 @@
20492049
were respectively the same as those of \tcode{is}.
20502050

20512051
\postconditions The \tcode{is.}\textit{fmtflags} are unchanged.
2052-
& \bigoh{$\mbox{size of state}$}
2052+
& \bigoh{$\text{size of state}$}
20532053
\\
20542054
\end{libreqtab4d}
20552055

@@ -2058,7 +2058,7 @@
20582058
of \tcode{CopyConstructible} (Table~\ref{tab:copyconstructible})
20592059
and \tcode{CopyAssignable} (Table~\ref{tab:copyassignable}) types.
20602060
These operations shall each be of complexity
2061-
no worse than \bigoh{\mbox{size of state}}.
2061+
no worse than \bigoh{\text{size of state}}.
20622062

20632063

20642064
\indextext{requirements!random number engine|)}

0 commit comments

Comments
 (0)