summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx41
1 files changed, 5 insertions, 36 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx
index 1a93847d1ce..e19ae3431f0 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-aux.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2019-02-15}
+% \date{Released 2019-03-05}
%
% \maketitle
%
@@ -1156,7 +1156,7 @@
% \@@_small_int_test:NnnwNTF
% }
% Tests if the floating point argument is an integer or $\pm\infty$.
-% If so, it is converted to an integer in the range $[-10^{8},10^{8}]$
+% If so, it is clipped to an integer in the range $[-10^{8},10^{8}]$
% and fed as a braced argument to the \meta{true code}.
% Otherwise, the \meta{false code} is performed.
%
@@ -1207,37 +1207,6 @@
% \end{macro}
% \end{macro}
%
-% \subsection{\texttt{x}-like expansion expandably}
-%
-% \begin{macro}[EXP]{\@@_expand:n}
-% \begin{macro}[EXP]{\@@_expand_loop:nwnN}
-% This expandable function behaves in a way somewhat similar to
-% \cs{use:x}, but much less robust. The argument is
-% \texttt{f}-expanded, then the leading item (often a single character
-% token) is moved to a storage area after \cs{s_@@_mark}, and
-% \texttt{f}-expansion is applied again, repeating until the argument
-% is empty. The result built one piece at a time is then inserted in
-% the input stream. Note that spaces are ignored by this procedure,
-% unless surrounded with braces. Multiple tokens which do not need
-% expansion can be inserted within braces.
-% \begin{macrocode}
-\cs_new:Npn \@@_expand:n #1
- {
- \@@_expand_loop:nwnN { }
- #1 \prg_do_nothing:
- \s_@@_mark { } \@@_expand_loop:nwnN
- \s_@@_mark { } \@@_use_i_until_s:nw ;
- }
-\cs_new:Npn \@@_expand_loop:nwnN #1#2 \s_@@_mark #3 #4
- {
- \exp_after:wN #4 \exp:w \exp_end_continue_f:w
- #2
- \s_@@_mark { #3 #1 } #4
- }
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
% \subsection{Fast string comparison}
%
% \begin{macro}{\@@_str_if_eq:nn}
@@ -1247,10 +1216,9 @@
% No \pkg{l3sys} or \pkg{l3luatex} just yet so we have to define in terms of
% primitives.
% \begin{macrocode}
-\cs_new:Npn \@@_str_if_eq:nn #1#2 { \tex_strcmp:D {#1} {#2} }
-\sys_if_engine_luatex:T
+\sys_if_engine_luatex:TF
{
- \cs_set:Npn \@@_str_if_eq:nn #1#2
+ \cs_new:Npn \@@_str_if_eq:nn #1#2
{
\tex_directlua:D
{
@@ -1262,6 +1230,7 @@
}
}
}
+ { \cs_new_eq:NN \@@_str_if_eq:nn \tex_strcmp:D }
% \end{macrocode}
% \end{macro}
%