Skip to content

Commit 5caf2b8

Browse files
eisenwavetkoeppe
authored andcommitted
[simd.math] Wrap code \placeholders in \tcode
1 parent 4452e28 commit 5caf2b8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

source/numerics.tex

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19465,8 +19465,8 @@
1946519465
\begin{itemdescr}
1946619466
\pnum
1946719467
Let \tcode{Ret} denote the return type of the specialization of a function
19468-
template with the name \placeholder{math-func}.
19469-
Let \placeholder{math-func-vec} denote:
19468+
template with the name \tcode{\placeholder{math-func}}.
19469+
Let \tcode{\placeholder{math-func-vec}} denote:
1947019470
\begin{codeblock}
1947119471
template<class... Args>
1947219472
Ret @\placeholder{math-func-vec}@(Args... args) {
@@ -19479,10 +19479,10 @@
1947919479
\pnum
1948019480
\returns
1948119481
A value \tcode{ret} of type \tcode{Ret}, that is element-wise equal to the
19482-
result of calling \placeholder{math-func-vec} with the arguments of the above
19482+
result of calling \tcode{\placeholder{math-func-vec}} with the arguments of the above
1948319483
functions.
19484-
If in an invocation of a scalar overload of \placeholder{math-func} for index
19485-
\tcode{i} in \placeholder{math-func-vec} a domain, pole, or range error would
19484+
If in an invocation of a scalar overload of \tcode{\placeholder{math-func}} for index
19485+
\tcode{i} in \tcode{\placeholder{math-func-vec}} a domain, pole, or range error would
1948619486
occur, the value of \tcode{ret[i]} is unspecified.
1948719487

1948819488
\pnum
@@ -19626,8 +19626,8 @@
1962619626
\begin{itemdescr}
1962719627
\pnum
1962819628
Let \tcode{Ret} denote the return type of the specialization of a function
19629-
template with the name \placeholder{math-func}.
19630-
Let \placeholder{math-func-vec} denote:
19629+
template with the name \tcode{\placeholder{math-func}}.
19630+
Let \tcode{\placeholder{math-func-vec}} denote:
1963119631
\begin{codeblock}
1963219632
template<class... Args>
1963319633
Ret @\placeholder{math-func-vec}@(Args... args) {
@@ -19640,10 +19640,10 @@
1964019640
\pnum
1964119641
\returns
1964219642
A value \tcode{ret} of type \tcode{Ret}, that is element-wise approximately
19643-
equal to the result of calling \placeholder{math-func-vec} with the arguments
19643+
equal to the result of calling \tcode{\placeholder{math-func-vec}} with the arguments
1964419644
of the above functions.
19645-
If in an invocation of a scalar overload of \placeholder{math-func} for index
19646-
\tcode{i} in \placeholder{math-func-vec} a domain, pole, or range error would
19645+
If in an invocation of a scalar overload of \tcode{\placeholder{math-func}} for index
19646+
\tcode{i} in \tcode{\placeholder{math-func-vec}} a domain, pole, or range error would
1964719647
occur, the value of \tcode{ret[i]} is unspecified.
1964819648

1964919649
\pnum
@@ -19660,7 +19660,7 @@
1966019660
\begin{itemdescr}
1966119661
\pnum
1966219662
Let \tcode{Ret} be \tcode{\exposid{deduced-vec-t}<V>}.
19663-
Let \placeholder{frexp-vec} denote:
19663+
Let \tcode{\placeholder{frexp-vec}} denote:
1966419664
\begin{codeblock}
1966519665
template<class V>
1966619666
pair<Ret, rebind_t<int, Ret>> @\placeholder{frexp-vec}@(const V& x) {
@@ -19673,7 +19673,7 @@
1967319673
\end{codeblock}
1967419674
Let \tcode{ret} be a value of type \tcode{pair<Ret, rebind_t<int, Ret>>}
1967519675
that is the same value as the result of calling
19676-
\placeholder{frexp-vec}\tcode{(x)}.
19676+
\tcode{\placeholder{frexp-vec}(x)}.
1967719677

1967819678
\pnum
1967919679
\effects
@@ -19694,7 +19694,7 @@
1969419694
\begin{itemdescr}
1969519695
\pnum
1969619696
Let \tcode{Ret} be \tcode{\exposid{math-common-simd-t}<V0, V1>}.
19697-
Let \placeholder{remquo-vec} denote:
19697+
Let \tcode{\placeholder{remquo-vec}} denote:
1969819698
\begin{codeblock}
1969919699
template<class V0, class V1>
1970019700
pair<Ret, rebind_t<int, Ret>> @\placeholder{remquo-vec}@(const V0& x, const V1& y) {
@@ -19708,9 +19708,9 @@
1970819708
\end{codeblock}
1970919709
Let \tcode{ret} be a value of type \tcode{pair<Ret, rebind_t<int, Ret>>}
1971019710
that is the same value as the result of calling
19711-
\placeholder{remquo-vec}\tcode{(x, y)}.
19711+
\tcode{\placeholder{remquo-vec}(x, y)}.
1971219712
If in an invocation of a scalar overload of \tcode{remquo} for index \tcode{i}
19713-
in \placeholder{remquo-vec} a domain, pole, or range error would occur, the
19713+
in \tcode{\placeholder{remquo-vec}} a domain, pole, or range error would occur, the
1971419714
value of \tcode{ret[i]} is unspecified.
1971519715

1971619716
\pnum
@@ -19736,7 +19736,7 @@
1973619736
\begin{itemdescr}
1973719737
\pnum
1973819738
Let \tcode{V} be \tcode{basic_vec<T, Abi>}.
19739-
Let \placeholder{modf-vec} denote:
19739+
Let \tcode{\placeholder{modf-vec}} denote:
1974019740
\begin{codeblock}
1974119741
pair<V, V> @\placeholder{modf-vec}@(const V& x) {
1974219742
T r1[Ret::size()];
@@ -19747,7 +19747,7 @@
1974719747
}
1974819748
\end{codeblock}
1974919749
Let \tcode{ret} be a value of type \tcode{pair<V, V>} that is the same value as
19750-
the result of calling \placeholder{modf-vec}\tcode{(value)}.
19750+
the result of calling \tcode{\placeholder{modf-vec}(value)}.
1975119751

1975219752
\pnum
1975319753
\effects

0 commit comments

Comments
 (0)