[latex3-commits] [latex3/latex3] 1239-bcp47, fp-func, main: Remove "aux"/"int" from l3fp-extras (365fe28eb)
github at latex-project.org
github at latex-project.org
Fri Oct 13 18:47:42 CEST 2023
Repository : https://github.com/latex3/latex3
On branches: 1239-bcp47,fp-func,main
Link : https://github.com/latex3/latex3/commit/365fe28eb710da8a48113d1863856fb1a1529df3
>---------------------------------------------------------------
commit 365fe28eb710da8a48113d1863856fb1a1529df3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Jul 5 19:30:32 2023 +0100
Remove "aux"/"int" from l3fp-extras
>---------------------------------------------------------------
365fe28eb710da8a48113d1863856fb1a1529df3
l3trial/l3fp-extras/l3fp-functions.dtx | 12 ++++-----
l3trial/l3fp-extras/l3fp-interchange.dtx | 4 +--
l3trial/l3fp-extras/l3fp-symbolic.dtx | 44 ++++++++++++++++----------------
l3trial/l3fp-extras/l3fp-types.dtx | 26 +++++++++----------
4 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/l3trial/l3fp-extras/l3fp-functions.dtx b/l3trial/l3fp-extras/l3fp-functions.dtx
index 27220ff05..be9f6b221 100644
--- a/l3trial/l3fp-extras/l3fp-functions.dtx
+++ b/l3trial/l3fp-extras/l3fp-functions.dtx
@@ -1,6 +1,6 @@
% \iffalse
%
-%% File l3fp-functions.dtx (C) Copyright 2012-2018,2020,2021 The LaTeX Project
+%% File l3fp-functions.dtx (C) Copyright 2012-2018,2020,2021,2023 The LaTeX Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -175,7 +175,7 @@
% \subsection{Declaring functions}
%
% \begin{macro}{\fp_new_function:n}
-% \begin{macro}[aux]{\@@_new_function:n}
+% \begin{macro}{\@@_new_function:n}
% \begin{macrocode}
\cs_new_protected:Npn \fp_new_function:n #1
{ \exp_args:No \@@_new_function:n { \tl_to_str:n {#1} } }
@@ -198,7 +198,7 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}[aux]
+% \begin{macro}
% {\@@_function_set_parsing:Nn, \@@_function_set_parsing_aux:NNn}
% \begin{macrocode}
\cs_new:Npn \@@_function_set_parsing:Nn #1#2
@@ -231,7 +231,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[aux, EXP]{\@@_function_o:w}
+% \begin{macro}[EXP]{\@@_function_o:w}
% \begin{macrocode}
\cs_new:Npn \@@_function_o:w #1#2 @
{
@@ -264,7 +264,7 @@
% \end{variable}
%
% \begin{macro}{\fp_set_function:nnn}
-% \begin{macro}[aux]{\@@_set_function:Nnnn}
+% \begin{macro}{\@@_set_function:Nnnn}
% \begin{syntax}
% \cs{fp_set_function:nnn} \Arg{identifier}
% \Arg{comma-list of variables} \Arg{expression}
@@ -335,7 +335,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[aux, EXP]
+% \begin{macro}[EXP]
% {
% \@@_function_arg_o:w,
% \@@_function_arg_few:w,
diff --git a/l3trial/l3fp-extras/l3fp-interchange.dtx b/l3trial/l3fp-extras/l3fp-interchange.dtx
index db3a89789..40e2316b1 100644
--- a/l3trial/l3fp-extras/l3fp-interchange.dtx
+++ b/l3trial/l3fp-extras/l3fp-interchange.dtx
@@ -1,6 +1,6 @@
% \iffalse
%
-%% File l3fp-interchange.dtx (C) Copyright 2017-2018,2020,2021 The LaTeX Project
+%% File l3fp-interchange.dtx (C) Copyright 2017-2018,2020,2021,2023 The LaTeX Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -117,7 +117,7 @@
%
% \subsection{Inputting the interchange format}
%
-% \begin{macro}[EXP,aux]{\@@_from_bytes_invalid:}
+% \begin{macro}[EXP]{\@@_from_bytes_invalid:}
% ^^A todo: invalid operation
% \begin{macrocode}
\cs_new:Npn \@@_from_bits_invalid: { \c_nan_fp }
diff --git a/l3trial/l3fp-extras/l3fp-symbolic.dtx b/l3trial/l3fp-extras/l3fp-symbolic.dtx
index 8b47509a1..7e579c1f5 100644
--- a/l3trial/l3fp-extras/l3fp-symbolic.dtx
+++ b/l3trial/l3fp-extras/l3fp-symbolic.dtx
@@ -67,7 +67,7 @@
%
% \subsection{Misc}
%
-% \begin{variable}[int]{\l_@@_symbolic_fp}
+% \begin{variable}{\l_@@_symbolic_fp}
% Scratch floating point.
% \begin{macrocode}
\fp_new:N \l_@@_symbolic_fp
@@ -134,14 +134,14 @@
% } ;
% \end{verbatim}
%
-% \begin{variable}[int]{\s_@@_symbolic}
+% \begin{variable}{\s_@@_symbolic}
% Scan mark indicating the start of a symbolic expression.
% \begin{macrocode}
\scan_new:N \s_@@_symbolic
% \end{macrocode}
% \end{variable}
%
-% \begin{macro}[int]{\@@_symbolic_chk:w}
+% \begin{macro}{\@@_symbolic_chk:w}
% Analog of \cs{@@_chk:w} for symbolic expressions.
% \begin{macrocode}
\cs_new_protected:Npn \@@_symbolic_chk:w #1,#2#3;
@@ -157,7 +157,7 @@
%
% \subsection{Expanding after a symbolic expression}
%
-% \begin{macro}[aux, EXP]
+% \begin{macro}[EXP]
% {\@@_if_has_symbolic:nTF, \@@_if_has_symbolic_aux:w}
% Tests if |#1| contains \cs{s_@@_symbolic} at top-level. This test
% should be precise enough to determine if a given an array contains a
@@ -176,8 +176,8 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[int, EXP]{\@@_exp_after_symbolic_f:nw}
-% \begin{macro}[aux, EXP]
+% \begin{macro}[EXP]{\@@_exp_after_symbolic_f:nw}
+% \begin{macro}[EXP]
% {\@@_exp_after_symbolic_aux:w, \@@_exp_after_symbolic_loop:N}
% This function does two things: trigger an \texttt{f}-expansion of
% the argument~|#1| after the following symbolic expression, and
@@ -218,7 +218,7 @@
%
% \subsection{Applying infix operators to expressions}
%
-% \begin{macro}[aux, EXP]{\@@_symbolic_binary_o:Nww}
+% \begin{macro}[EXP]{\@@_symbolic_binary_o:Nww}
% Used when applying infix operators to expressions.
% \begin{macrocode}
\cs_new:Npn \@@_symbolic_binary_o:Nww #1 #2; #3;
@@ -233,7 +233,7 @@
% \begin{@makeother}{^} %^^A Hack!
% \begin{@makeother}{|} %^^A Hack!
% \begin{@makeother}{&} %^^A Hack!
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]
% {
% \@@_symbolic_+_symbolic_o:ww,
% \@@_symbolic_+_o:ww,
@@ -278,7 +278,7 @@
% \end{@makeother}
% \end{@makeother}
%
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]
% {
% \@@_symbolic_compare_symbolic_o:NNNNww,
% \@@_symbolic_compare_o:NNNNww,
@@ -325,7 +325,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]
% {
% \@@_symbolic_acos_o:w ,
% \@@_symbolic_acsc_o:w ,
@@ -360,13 +360,13 @@
%
% \subsection{Conversions}
%
-% \begin{macro}[EXP, int]
+% \begin{macro}[EXP]
% {
% \@@_symbolic_to_decimal:w,
% \@@_symbolic_to_int:w,
% \@@_symbolic_to_scientific:w
% }
-% \begin{macro}[EXP, aux]{\@@_symbolic_convert:wnnN}
+% \begin{macro}[EXP]{\@@_symbolic_convert:wnnN}
% Symbolic expressions cannot be converted to decimal, integer, or
% scientific notation unless they can be reduced to
% \begin{macrocode}
@@ -392,7 +392,7 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]
% {\@@_symbolic_cs_arg_to_fn:NN, \@@_symbolic_op_arg_to_fn:nN}
% \begin{macrocode}
\cs_new:Npn \@@_symbolic_cs_arg_to_fn:NN #1
@@ -416,8 +416,8 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP, int]{\@@_symbolic_to_tl:w}
-% \begin{macro}[rEXP, aux]
+% \begin{macro}[EXP]{\@@_symbolic_to_tl:w}
+% \begin{macro}[rEXP]
% {
% \@@_symbolic_unary_to_tl:NNw,
% \@@_symbolic_binary_to_tl:Nww
@@ -467,7 +467,7 @@
% expressions.
%
% \begin{macro}[TF]{\@@_id_if_invalid:n}
-% \begin{macro}[aux, EXP]{\@@_id_if_invalid_aux:N}
+% \begin{macro}[EXP]{\@@_id_if_invalid_aux:N}
% If |#1| contains a space, it is not a valid identifier. Otherwise,
% loop through letters in |#1|: if it is not a letter, break the loop
% and return \texttt{true}. If the end of the loop is reached
@@ -504,7 +504,7 @@
%
% \subsection{Declaring variables and assigning values}
%
-% \begin{macro}[aux, EXP]{\@@_variable_o:w}
+% \begin{macro}[EXP]{\@@_variable_o:w}
% We do not use \cs{exp_last_unbraced:Nv} to extract the value of
% |\l__fp_variable_#1_fp| because in \cs{fp_set_variable:nn} we define
% this \texttt{fp} variable to be something which \texttt{f}-expands
@@ -540,7 +540,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[aux]
+% \begin{macro}
% {\@@_variable_set_parsing:Nn, \@@_variable_set_parsing_aux:NNn}
% \begin{macrocode}
\cs_new:Npn \@@_variable_set_parsing:Nn #1#2
@@ -574,7 +574,7 @@
% \end{macro}
%
% \begin{macro}{\fp_clear_variable:n}
-% \begin{macro}[aux]{\@@_clear_variable:n}
+% \begin{macro}{\@@_clear_variable:n}
% \begin{macrocode}
\cs_new_protected:Npn \fp_clear_variable:n #1
{
@@ -592,7 +592,7 @@
% \end{macro}
%
% \begin{macro}{\fp_new_variable:n}
-% \begin{macro}[aux]{\@@_new_variable:n}
+% \begin{macro}{\@@_new_variable:n}
% Check that |#1| is a valid identifier. If the identifier is already
% in use, complain. Then set |\__fp_parse_word_#1:N| to use
% |\__fp_variable_o:w|.
@@ -619,7 +619,7 @@
% \end{macro}
%
% \begin{macro}{\fp_set_variable:nn}
-% \begin{macro}[aux]{\@@_set_variable:nn}
+% \begin{macro}{\@@_set_variable:nn}
% Refuse invalid identifiers. If the variable does not exist yet,
% define it just as in \cs{fp_new_variable:n} (but without unnecessary
% checks). Then evaluate~|#2|. If the result contains the
@@ -663,7 +663,7 @@
%
% \subsection{Turn unknown words to variables}
%
-% \begin{macro}[aux, EXP]{\@@_parse_word:Nw}
+% \begin{macro}[ EXP]{\@@_parse_word:Nw}
% \begin{macrocode}
\cs_undefine:N \@@_parse_word:Nw
\cs_new:Npn \@@_parse_word:Nw #1#2;
diff --git a/l3trial/l3fp-extras/l3fp-types.dtx b/l3trial/l3fp-extras/l3fp-types.dtx
index 763ec8266..cb6f6d31a 100644
--- a/l3trial/l3fp-extras/l3fp-types.dtx
+++ b/l3trial/l3fp-extras/l3fp-types.dtx
@@ -1,6 +1,6 @@
% \iffalse
%
-%% File l3fp-types.dtx (C) Copyright 2012-2015,2017,2018,2020,2021 The LaTeX Project
+%% File l3fp-types.dtx (C) Copyright 2012-2015,2017,2018,2020,2021,2023 The LaTeX Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -114,7 +114,7 @@
%
% \subsection{Dispatch according to the type}
%
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]
% {\@@_types_cs_to_op:N, \@@_types_cs_to_op_auxi:wwwn}
% From |\__fp_|\meta{op}|_o:w| produce \meta{op}, otherwise~|?|.
% \begin{macrocode}
@@ -136,8 +136,8 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP, int]{\@@_types_unary:NNw}
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]{\@@_types_unary:NNw}
+% \begin{macro}[EXP]
% {\@@_types_unary_auxi:nNw, \@@_types_unary_auxii:NnNw}
% \begin{syntax}
% \cs{@@_types_unary:NNw} |\__fp_|\meta{function}|_o:w|
@@ -166,8 +166,8 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}[EXP, int]{\@@_types_binary:Nww}
-% \begin{macro}[EXP, aux]
+% \begin{macro}[EXP]{\@@_types_binary:Nww}
+% \begin{macro}[EXP]
% {\@@_types_binary_auxi:Nww, \@@_types_binary_auxii:NNww}
% \begin{syntax}
% \cs{@@_types_binary:Nww} |\__fp_|\meta{binop}|_o:ww|
@@ -203,9 +203,9 @@
%
% \subsection{Comparisons}
%
-% \begin{macro}[int, EXP]{\@@_parse_apply_compare:NwNNNNwN}
-% \begin{macro}[int, EXP]{\@@_infix_compare_o:w}
-% \begin{macro}[int, EXP]{\@@_compare_o:NNNNww}
+% \begin{macro}[EXP]{\@@_parse_apply_compare:NwNNNNwN}
+% \begin{macro}[EXP]{\@@_infix_compare_o:w}
+% \begin{macro}[EXP]{\@@_compare_o:NNNNww}
% \begin{macrocode}
% \cs_undefine:N \@@_parse_apply_compare:NwNNNNwN
% \cs_new:Npn \@@_parse_apply_compare:NwNNNNwN #1 #2@ #3#4#5#6 #7@ #8
@@ -259,7 +259,7 @@
% only need to be able to jump over the data with
% \cs{@@_exp_after_tokens_f:nw}.
%
-% \begin{variable}[int]{\s_@@_tokens}
+% \begin{variable}{\s_@@_tokens}
% Marks the start of some \texttt{N}-type tokens stored as a
% floating-point object.
% \begin{macrocode}
@@ -267,7 +267,7 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{macro}[int, EXP]{\@@_tokens:n}
+% \begin{macro}[EXP]{\@@_tokens:n}
% To be used in combination with \cs{s_@@_tokens}: this function
% prevents the expansion of its argument.
% \begin{macrocode}
@@ -275,8 +275,8 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP, int]{\@@_exp_after_tokens_f:nw}
-% \begin{macro}[EXP, aux]{\@@_exp_after_tokens_aux:N}
+% \begin{macro}[EXP]{\@@_exp_after_tokens_f:nw}
+% \begin{macro}[EXP]{\@@_exp_after_tokens_aux:N}
% The loop through tokens ends when the auxiliary takes in the
% multi-token trailing argument. The \cs{exp_after:wN} chain hits
% \cs{exp:w} coming from the argument, and
More information about the latex3-commits
mailing list.