[latex3-commits] [git/LaTeX3-latex3-latex3] master: Move \<var>_sign:n to stable (833308c03)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 20 08:15:34 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/833308c0398f735fbfdc49226e6e20ab3c194e49

>---------------------------------------------------------------

commit 833308c0398f735fbfdc49226e6e20ab3c194e49
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 20 07:15:34 2019 +0100

    Move \<var>_sign:n to stable


>---------------------------------------------------------------

833308c0398f735fbfdc49226e6e20ab3c194e49
 l3kernel/CHANGELOG.md                   |   1 +
 l3kernel/l3candidates.dtx               | 117 --------------------------------
 l3kernel/l3fp-convert.dtx               |  10 +++
 l3kernel/l3fp.dtx                       |  12 ++++
 l3kernel/l3int.dtx                      |  35 ++++++++++
 l3kernel/l3skip.dtx                     |  38 +++++++++++
 l3kernel/testfiles/m3expl001.luatex.tlg |  10 +--
 l3kernel/testfiles/m3expl001.ptex.tlg   |  10 +--
 l3kernel/testfiles/m3expl001.tlg        |  10 +--
 l3kernel/testfiles/m3expl001.uptex.tlg  |  10 +--
 l3kernel/testfiles/m3expl001.xetex.tlg  |  10 +--
 l3kernel/testfiles/m3expl003.luatex.tlg |  10 +--
 l3kernel/testfiles/m3expl003.ptex.tlg   |  10 +--
 l3kernel/testfiles/m3expl003.tlg        |  10 +--
 l3kernel/testfiles/m3expl003.uptex.tlg  |  10 +--
 l3kernel/testfiles/m3expl003.xetex.tlg  |  10 +--
 16 files changed, 146 insertions(+), 167 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 64463152e..33211452c 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Changed
 
+- Moved `\<var>_sign:n` to stable
 - Moved `\prop_(g)set_from_clist:Nn` and `\prop_const_from_clist:Nn` to
   stable
 - Moved `\seq_(g)shuffle:N` to stable
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index cfd3d341a..7a517c2c3 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -234,18 +234,6 @@
 %   is \nan{}.
 % \end{function}
 %
-% \begin{function}[EXP, added = 2018-11-03]{\fp_sign:n}
-%   \begin{syntax}
-%     \cs{fp_sign:n} \Arg{fpexpr}
-%   \end{syntax}
-%   Evaluates the \meta{fpexpr} and leaves its sign in the input stream
-%   using \cs{fp_eval:n} |{sign(|\meta{result}|)}|: $+1$ for positive
-%   numbers and for $+\infty$, $-1$ for negative numbers and for
-%   $-\infty$, $\pm 0$ for $\pm 0$.  If the operand is a tuple or is
-%   \nan{}, then \enquote{invalid operation} occurs and the result
-%   is~$0$.
-% \end{function}
-%
 % \begin{function}[pTF, added = 2019-08-25]{\fp_if_nan:n}
 %   \begin{syntax}
 %     \cs{fp_if_nan:n} \Arg{fpexpr}
@@ -415,16 +403,6 @@
 %   locally.
 % \end{function}
 %
-% \section{Additions to \pkg{l3int}}
-%
-% \begin{function}[EXP, added = 2018-11-03]{\int_sign:n}
-%   \begin{syntax}
-%     \cs{int_sign:n} \Arg{intexpr}
-%   \end{syntax}
-%   Evaluates the \meta{integer expression} then leaves $1$ or $0$ or
-%   $-1$ in the input stream according to the sign of the result.
-% \end{function}
-%
 % \section{Additions to \pkg{l3intarray}}
 %
 % \begin{function}[added = 2018-05-05]{\intarray_gset_rand:Nnn, \intarray_gset_rand:Nn}
@@ -717,16 +695,6 @@
 %   and so on) as~|#1| and the \meta{item} as~|#2|.
 % \end{function}
 %
-% \section{Additions to \pkg{l3skip}}
-%
-% \begin{function}[EXP, added = 2018-11-03]{\dim_sign:n}
-%   \begin{syntax}
-%     \cs{dim_sign:n} \Arg{dimexpr}
-%   \end{syntax}
-%   Evaluates the \meta{dimexpr} then leaves $1$ or $0$ or $-1$ in the
-%   input stream according to the sign of the result.
-% \end{function}
-%
 % \section{Additions to \pkg{l3sys}}
 %
 % \begin{function}[noTF, added = 2019-01-16, updated = 2019-02-16]
@@ -1443,22 +1411,6 @@
 % \end{macro}
 % \end{macro}
 %
-% \subsection{Additions to \pkg{l3fp-convert}}
-%
-%    \begin{macrocode}
-%<@@=fp>
-%    \end{macrocode}
-%
-% \begin{macro}{\fp_sign:n}
-%   Trivial but useful.  See the implementation of \cs{fp_add:Nn} for an
-%   explanation of why to use \cs{@@_parse:n}, namely, for better error
-%   reporting.
-%    \begin{macrocode}
-\cs_new:Npn \fp_sign:n #1
-  { \fp_to_decimal:n { sign \@@_parse:n {#1} } }
-%    \end{macrocode}
-% \end{macro}
-%
 % \subsection{Additions to \pkg{l3flag}}
 %
 %    \begin{macrocode}
@@ -1482,39 +1434,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \subsection{Additions to \pkg{l3int}}
-%
-%    \begin{macrocode}
-%<@@=int>
-%    \end{macrocode}
-%
-% \begin{macro}[EXP]{\int_sign:n, \@@_sign:Nw}
-%   See \cs{int_abs:n}.  Evaluate the expression once (and when
-%   debugging is enabled, check that the expression is well-formed),
-%   then test the first character to determine the sign.  This is
-%   wrapped in \cs{int_value:w} \ldots{} \cs{exp_stop_f:} to ensure a
-%   fixed number of expansions and to avoid dealing with closing the
-%   conditionals.
-%    \begin{macrocode}
-\__kernel_patch_args:nNNpn
-  { { \__kernel_chk_expr:nNnN {#1} \@@_eval:w { } \int_sign:n } }
-\cs_new:Npn \int_sign:n #1
-  {
-    \int_value:w \exp_after:wN \@@_sign:Nw
-      \int_value:w \@@_eval:w #1 \@@_eval_end: ;
-    \exp_stop_f:
-  }
-\cs_new:Npn \@@_sign:Nw #1#2 ;
-  {
-    \if_meaning:w 0 #1
-      0
-    \else:
-      \if_meaning:w - #1 - \fi: 1
-    \fi:
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 % \subsection{Additions to \pkg{l3msg}}
 %
 %    \begin{macrocode}
@@ -1856,42 +1775,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \subsection{Additions to \pkg{l3skip}}
-%
-%    \begin{macrocode}
-%<@@=dim>
-%    \end{macrocode}
-%
-% \begin{macro}[EXP]{\dim_sign:n, \@@_sign:Nw}
-%   See \cs{dim_abs:n}.  Contrarily to \cs{int_sign:n} the case of a
-%   zero dimension cannot be distinguished from a positive dimension by
-%   looking only at the first character, since |0.2pt| and |0pt| start
-%   the same way.  We need explicit comparisons.  We start by
-%   distinguishing the most common case of a positive dimension.
-%    \begin{macrocode}
-\__kernel_patch_args:nNNpn
-  { { \__kernel_chk_expr:nNnN {#1} \@@_eval:w { } \dim_sign:n } }
-\cs_new:Npn \dim_sign:n #1
-  {
-    \int_value:w \exp_after:wN \@@_sign:Nw
-      \dim_use:N \@@_eval:w #1 \@@_eval_end: ;
-    \exp_stop_f:
-  }
-\cs_new:Npn \@@_sign:Nw #1#2 ;
-  {
-    \if_dim:w #1#2 > \c_zero_dim
-      1
-    \else:
-      \if_meaning:w - #1
-        -1
-      \else:
-        0
-      \fi:
-    \fi:
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 % \subsection{Additions to \pkg{l3sys}}
 %
 %    \begin{macrocode}
diff --git a/l3kernel/l3fp-convert.dtx b/l3kernel/l3fp-convert.dtx
index dfd052b84..bf34d0faf 100644
--- a/l3kernel/l3fp-convert.dtx
+++ b/l3kernel/l3fp-convert.dtx
@@ -550,6 +550,16 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\fp_sign:n}
+%   Trivial but useful.  See the implementation of \cs{fp_add:Nn} for an
+%   explanation of why to use \cs{@@_parse:n}, namely, for better error
+%   reporting.
+%    \begin{macrocode}
+\cs_new:Npn \fp_sign:n #1
+  { \fp_to_decimal:n { sign \@@_parse:n {#1} } }
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}[EXP]{\fp_abs:n}
 %   Trivial but useful.  See the implementation of \cs{fp_add:Nn} for an
 %   explanation of why to use \cs{@@_parse:n}, namely, for better error
diff --git a/l3kernel/l3fp.dtx b/l3kernel/l3fp.dtx
index fe5014111..43015184f 100644
--- a/l3kernel/l3fp.dtx
+++ b/l3kernel/l3fp.dtx
@@ -260,6 +260,18 @@
 %   This function is identical to \cs{fp_to_decimal:n}.
 % \end{function}
 %
+% \begin{function}[EXP, added = 2018-11-03]{\fp_sign:n}
+%   \begin{syntax}
+%     \cs{fp_sign:n} \Arg{fpexpr}
+%   \end{syntax}
+%   Evaluates the \meta{fpexpr} and leaves its sign in the input stream
+%   using \cs{fp_eval:n} |{sign(|\meta{result}|)}|: $+1$ for positive
+%   numbers and for $+\infty$, $-1$ for negative numbers and for
+%   $-\infty$, $\pm 0$ for $\pm 0$.  If the operand is a tuple or is
+%   \nan{}, then \enquote{invalid operation} occurs and the result
+%   is~$0$.
+% \end{function}
+%
 % \begin{function}[EXP, added = 2012-05-08, updated = 2012-07-08]
 %   {\fp_to_decimal:N, \fp_to_decimal:c, \fp_to_decimal:n}
 %   \begin{syntax}
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index deade1182..41fda3088 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -134,6 +134,14 @@
 %   since the digit~\texttt{9} is not part of the expression.
 % \end{function}
 %
+% \begin{function}[EXP, added = 2018-11-03]{\int_sign:n}
+%   \begin{syntax}
+%     \cs{int_sign:n} \Arg{intexpr}
+%   \end{syntax}
+%   Evaluates the \meta{integer expression} then leaves $1$ or $0$ or
+%   $-1$ in the input stream according to the sign of the result.
+% \end{function}
+%
 % \begin{function}[EXP, updated = 2012-09-26]{\int_abs:n}
 %   \begin{syntax}
 %     \cs{int_abs:n} \Arg{integer expression}
@@ -1062,6 +1070,33 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}[EXP]{\int_sign:n, \@@_sign:Nw}
+%   See \cs{int_abs:n}.  Evaluate the expression once (and when
+%   debugging is enabled, check that the expression is well-formed),
+%   then test the first character to determine the sign.  This is
+%   wrapped in \cs{int_value:w} \ldots{} \cs{exp_stop_f:} to ensure a
+%   fixed number of expansions and to avoid dealing with closing the
+%   conditionals.
+%    \begin{macrocode}
+\__kernel_patch_args:nNNpn
+  { { \__kernel_chk_expr:nNnN {#1} \@@_eval:w { } \int_sign:n } }
+\cs_new:Npn \int_sign:n #1
+  {
+    \int_value:w \exp_after:wN \@@_sign:Nw
+      \int_value:w \@@_eval:w #1 \@@_eval_end: ;
+    \exp_stop_f:
+  }
+\cs_new:Npn \@@_sign:Nw #1#2 ;
+  {
+    \if_meaning:w 0 #1
+      0
+    \else:
+      \if_meaning:w - #1 - \fi: 1
+    \fi:
+  }
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}[EXP]{\int_abs:n}
 % \begin{macro}[EXP]{\@@_abs:N}
 % \UnitTested
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index 108a54eb1..337cdee6f 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -457,6 +457,14 @@
 %   an \meta{internal dimension}.
 % \end{function}
 %
+% \begin{function}[EXP, added = 2018-11-03]{\dim_sign:n}
+%   \begin{syntax}
+%     \cs{dim_sign:n} \Arg{dimexpr}
+%   \end{syntax}
+%   Evaluates the \meta{dimexpr} then leaves $1$ or $0$ or $-1$ in the
+%   input stream according to the sign of the result.
+% \end{function}
+%
 % \begin{function}[EXP]{\dim_use:N, \dim_use:c}
 %   \begin{syntax}
 %     \cs{dim_use:N} \meta{dimension}
@@ -1652,6 +1660,36 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}[EXP]{\dim_sign:n, \@@_sign:Nw}
+%   See \cs{dim_abs:n}.  Contrarily to \cs{int_sign:n} the case of a
+%   zero dimension cannot be distinguished from a positive dimension by
+%   looking only at the first character, since |0.2pt| and |0pt| start
+%   the same way.  We need explicit comparisons.  We start by
+%   distinguishing the most common case of a positive dimension.
+%    \begin{macrocode}
+\__kernel_patch_args:nNNpn
+  { { \__kernel_chk_expr:nNnN {#1} \@@_eval:w { } \dim_sign:n } }
+\cs_new:Npn \dim_sign:n #1
+  {
+    \int_value:w \exp_after:wN \@@_sign:Nw
+      \dim_use:N \@@_eval:w #1 \@@_eval_end: ;
+    \exp_stop_f:
+  }
+\cs_new:Npn \@@_sign:Nw #1#2 ;
+  {
+    \if_dim:w #1#2 > \c_zero_dim
+      1
+    \else:
+      \if_meaning:w - #1
+        -1
+      \else:
+        0
+      \fi:
+    \fi:
+  }
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}{\dim_use:N, \dim_use:c}
 %   Accessing a \meta{dim}.
 %    \begin{macrocode}
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 262db14b5..512036a75 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -1337,6 +1337,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3112,6 +3114,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4452,6 +4456,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6434,10 +6439,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6486,8 +6488,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 961306a7d..ca022dfdf 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6420,10 +6425,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6472,8 +6474,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index e471418ff..42568d50a 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6420,10 +6425,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6472,8 +6474,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 6720732fc..3a0f8f74f 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6416,10 +6421,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6468,8 +6470,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 111a6db28..47337d79e 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3102,6 +3104,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4442,6 +4446,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6424,10 +6429,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6476,8 +6478,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 262db14b5..512036a75 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -1337,6 +1337,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3112,6 +3114,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4452,6 +4456,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6434,10 +6439,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6486,8 +6488,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 961306a7d..ca022dfdf 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6420,10 +6425,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6472,8 +6474,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index e471418ff..42568d50a 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6420,10 +6425,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6472,8 +6474,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 6720732fc..3a0f8f74f 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3358,6 +3360,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4698,6 +4702,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6416,10 +6421,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6468,8 +6470,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 111a6db28..47337d79e 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -1335,6 +1335,8 @@ Defining \if_int_odd:w on line ...
 Defining \if_case:w on line ...
 Defining \int_eval:n on line ...
 Defining \int_eval:w on line ...
+Defining \int_sign:n on line ...
+Defining \__int_sign:Nw on line ...
 Defining \int_abs:n on line ...
 Defining \__int_abs:N on line ...
 Defining \__int_maxmin:wwN on line ...
@@ -3102,6 +3104,8 @@ Defining \dim_step_inline:nnnn on line ...
 Defining \dim_step_variable:nnnNn on line ...
 Defining \__dim_step:NNnnnn on line ...
 Defining \dim_eval:n on line ...
+Defining \dim_sign:n on line ...
+Defining \__dim_sign:Nw on line ...
 Defining \dim_use:N on line ...
 Defining \dim_use:c on line ...
 Defining \dim_to_decimal:n on line ...
@@ -4442,6 +4446,7 @@ Defining \__fp_from_dim:wnnnnwNn on line ...
 Defining \fp_use:N on line ...
 Defining \fp_use:c on line ...
 Defining \fp_eval:n on line ...
+Defining \fp_sign:n on line ...
 Defining \fp_abs:n on line ...
 Defining \fp_max:nn on line ...
 Defining \fp_min:nn on line ...
@@ -6424,10 +6429,7 @@ Defining \box_set_viewport:cnnnn on line ...
 Defining \box_gset_viewport:Nnnnn on line ...
 Defining \box_gset_viewport:cnnnn on line ...
 Defining \__box_set_viewport:NnnnnN on line ...
-Defining \fp_sign:n on line ...
 Defining \flag_raise_if_clear:n on line ...
-Defining \int_sign:n on line ...
-Defining \__int_sign:Nw on line ...
 Defining \msg_expandable_error:nnnnnn on line ...
 Defining \msg_expandable_error:nnnnn on line ...
 Defining \msg_expandable_error:nnnn on line ...
@@ -6476,8 +6478,6 @@ Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
-Defining \dim_sign:n on line ...
-Defining \__dim_sign:Nw on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...





More information about the latex3-commits mailing list