[latex3-commits] [l3svn] branch master updated: Produce normal catcodes from \fp_to_<type>:n

noreply at latex-project.org noreply at latex-project.org
Tue Mar 22 10:07:22 CET 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  4ce784c   Produce normal catcodes from \fp_to_<type>:n
4ce784c is described below

commit 4ce784c1c895355a6afb305cc8bc18a17a0a28b0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Mar 22 09:06:06 2016 +0000

    Produce normal catcodes from \fp_to_<type>:n
    
    Need to look at \dim_use:N in this regard, but that is a
    more risky change.
---
 l3kernel/l3fp-convert.dtx              |   94 +++---
 l3kernel/l3fp.dtx                      |   26 +-
 l3kernel/testfiles/m3fp-convert003.lvt |  149 ---------
 l3kernel/testfiles/m3fp-convert003.tlg |  515 --------------------------------
 4 files changed, 56 insertions(+), 728 deletions(-)

diff --git a/l3kernel/l3fp-convert.dtx b/l3kernel/l3fp-convert.dtx
index 706cbce..75659c8 100644
--- a/l3kernel/l3fp-convert.dtx
+++ b/l3kernel/l3fp-convert.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: l3fp-convert.dtx Copyright(C) 2011-2014 The LaTeX3 Project
+%% File: l3fp-convert.dtx Copyright(C) 2011-2014,2016 The LaTeX3 Project
 %%
 %% It may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -138,54 +138,46 @@
 %   \enquote{invalid_operation} exception.  In the normal case,
 %   decrement the exponent and unbrace the $4$ brace groups, then in a
 %   second step grab the first digit (previously hidden in braces) to
-%   order the various parts correctly.  Finally trim zeros.  The whole
-%   construction is within a call to \cs{tl_to_lowercase:n}, responsible
-%   for creating |e| with category \enquote{other}.
+%   order the various parts correctly.  Finally trim zeros.
 %    \begin{macrocode}
-\group_begin:
-\char_set_catcode_other:N E
-\tl_to_lowercase:n
+\cs_new:Npn \@@_to_scientific_dispatch:w \s_@@ \@@_chk:w #1#2
   {
-    \group_end:
-    \cs_new:Npn \@@_to_scientific_dispatch:w \s_@@ \@@_chk:w #1#2
-      {
-        \if_meaning:w 2 #2 \exp_after:wN - \exp:w \exp_end_continue_f:w \fi:
-        \if_case:w #1 \exp_stop_f:
-             \@@_case_return:nw { 0 }
-        \or: \exp_after:wN \@@_to_scientific_normal:wnnnnn
-        \or:
-          \@@_case_use:nw
-            {
-              \@@_invalid_operation:nnw
-                {
-                  \exp_after:wN 1
-                  \exp_after:wN E
-                  \int_use:N \c_@@_max_exponent_int
-                }
-                { fp_to_scientific }
-            }
-        \or:
-          \@@_case_use:nw
+    \if_meaning:w 2 #2 \exp_after:wN - \exp:w \exp_end_continue_f:w \fi:
+    \if_case:w #1 \exp_stop_f:
+         \@@_case_return:nw { 0 }
+    \or: \exp_after:wN \@@_to_scientific_normal:wnnnnn
+    \or:
+      \@@_case_use:nw
+        {
+          \@@_invalid_operation:nnw
             {
-              \@@_invalid_operation:nnw
-                { 0 }
-                { fp_to_scientific }
+              \exp_after:wN 1
+              \exp_after:wN e
+              \int_use:N \c_@@_max_exponent_int
             }
-        \fi:
-        \s_@@ \@@_chk:w #1 #2
-      }
-    \cs_new:Npn \@@_to_scientific_normal:wnnnnn
-        \s_@@ \@@_chk:w 1 #1 #2 #3#4#5#6 ;
-      {
-        \if_int_compare:w #2 = \c_one
-          \exp_after:wN \@@_to_scientific_normal:wNw
-        \else:
-          \exp_after:wN \@@_to_scientific_normal:wNw
-          \exp_after:wN E
-          \int_use:N \__int_eval:w #2 - \c_one
-        \fi:
-        ; #3 #4 #5 #6 ;
-      }
+            { fp_to_scientific }
+        }
+    \or:
+      \@@_case_use:nw
+        {
+          \@@_invalid_operation:nnw
+            { 0 }
+            { fp_to_scientific }
+        }
+    \fi:
+    \s_@@ \@@_chk:w #1 #2
+  }
+\cs_new:Npn \@@_to_scientific_normal:wnnnnn
+  \s_@@ \@@_chk:w 1 #1 #2 #3#4#5#6 ;
+  {
+    \if_int_compare:w #2 = \c_one
+      \exp_after:wN \@@_to_scientific_normal:wNw
+    \else:
+      \exp_after:wN \@@_to_scientific_normal:wNw
+      \exp_after:wN e
+      \int_use:N \__int_eval:w #2 - \c_one
+    \fi:
+    ; #3 #4 #5 #6 ;
   }
 \cs_new:Npn \@@_to_scientific_normal:wNw #1 ; #2#3;
   { \@@_trim_zeros:w #2.#3 ; #1 }
@@ -325,8 +317,8 @@
     \if_case:w #1 \exp_stop_f:
            \@@_case_return:nw { 0 }
     \or:   \exp_after:wN \@@_to_tl_normal:nnnnn
-    \or:   \@@_case_return:nw { \tl_to_str:n {inf} }
-    \else: \@@_case_return:nw { \tl_to_str:n {nan} }
+    \or:   \@@_case_return:nw { inf }
+    \else: \@@_case_return:nw { nan }
     \fi:
   }
 \cs_new:Npn \@@_to_tl_normal:nnnnn #1
@@ -360,11 +352,11 @@
 %   These three public functions rely on \cs{fp_to_decimal:n}
 %   internally.  We make sure to produce |pt| with category other.
 %    \begin{macrocode}
-\cs_new:Npx \fp_to_dim:N #1
-  { \exp_not:N \fp_to_decimal:N #1 \tl_to_str:n {pt} }
+\cs_new:Npn \fp_to_dim:N #1
+  { \fp_to_decimal:N #1 pt }
 \cs_generate_variant:Nn \fp_to_dim:N { c }
-\cs_new:Npx \fp_to_dim:n #1
-  { \exp_not:N \fp_to_decimal:n {#1} \tl_to_str:n {pt} }
+\cs_new:Npn \fp_to_dim:n #1
+  { \fp_to_decimal:n {#1} pt }
 %    \end{macrocode}
 % \end{macro}
 %
diff --git a/l3kernel/l3fp.dtx b/l3kernel/l3fp.dtx
index fbe20bf..8569955 100644
--- a/l3kernel/l3fp.dtx
+++ b/l3kernel/l3fp.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: l3fp.dtx Copyright (C) 2011-2015 The LaTeX3 Project
+%% File: l3fp.dtx Copyright (C) 2011-2016 The LaTeX3 Project
 %%
 %% It may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -253,8 +253,7 @@
 %   exception.  This function is identical to \cs{fp_to_decimal:n}.
 % \end{function}
 %
-% \begin{function}[EXP, added = 2012-05-08, updated = 2012-07-08,
-%   tested = m3fp-convert003]
+% \begin{function}[EXP, added = 2012-05-08, updated = 2016-03-22]
 %   {\fp_to_decimal:N, \fp_to_decimal:c, \fp_to_decimal:n}
 %   \begin{syntax}
 %     \cs{fp_to_decimal:N} \meta{fp~var}
@@ -269,7 +268,7 @@
 %   exception.
 % \end{function}
 %
-% \begin{function}[EXP, updated = 2012-07-08, tested = m3fp-convert003]
+% \begin{function}[EXP, updated = 2016-03-22]
 %   {\fp_to_dim:N, \fp_to_dim:c, \fp_to_dim:n}
 %   \begin{syntax}
 %     \cs{fp_to_dim:N} \meta{fp~var}
@@ -278,14 +277,15 @@
 %   Evaluates the \meta{floating point expression} and expresses the
 %   result as a dimension (in~\texttt{pt}) suitable for use in dimension
 %   expressions.  The output is identical to \cs{fp_to_decimal:n}, with
-%   an additional trailing~\texttt{pt}.  In particular, the result may
+%   an additional trailing~\texttt{pt} (both letter tokens).
+%   In particular, the result may
 %   be outside the range $[- 2^{14} + 2^{-17}, 2^{14} - 2^{-17}]$ of
 %   valid \TeX{} dimensions, leading to overflow errors if used as a
 %   dimension.  The values $\pm\infty$ and~\nan{} trigger an
 %   \enquote{invalid operation} exception.
 % \end{function}
 %
-% \begin{function}[EXP, updated = 2012-07-08, tested = m3fp-convert003]
+% \begin{function}[EXP, updated = 2012-07-08]
 %   {\fp_to_int:N, \fp_to_int:c, \fp_to_int:n}
 %   \begin{syntax}
 %     \cs{fp_to_int:N} \meta{fp~var}
@@ -300,8 +300,7 @@
 %   an \enquote{invalid operation} exception.
 % \end{function}
 %
-% \begin{function}[EXP, added = 2012-05-08, updated = 2012-07-08,
-%   tested = m3fp-convert003]
+% \begin{function}[EXP, added = 2012-05-08, updated = 2016-03-22]
 %   {\fp_to_scientific:N, \fp_to_scientific:c, \fp_to_scientific:n}
 %   \begin{syntax}
 %     \cs{fp_to_scientific:N} \meta{fp~var}
@@ -314,11 +313,11 @@
 %   \end{quote}
 %   The leading \meta{digit} is non-zero except in the case of $\pm 0$.
 %   The values $\pm\infty$ and~\nan{} trigger an \enquote{invalid
-%   operation} exception. The entire representation is in the form of
-%   a string (tokens of category code~$12$), \emph{including} the |e|.
+%   operation} exception. Normal category codes apply: thus the |e| is
+%   category code~$11 (a letter).
 % \end{function}
 %
-% \begin{function}[EXP, updated = 2012-07-08, tested = m3fp-convert003]
+% \begin{function}[EXP, updated = 2016-03-22]
 %   {\fp_to_tl:N, \fp_to_tl:c, \fp_to_tl:n}
 %   \begin{syntax}
 %     \cs{fp_to_tl:N} \meta{fp~var}
@@ -335,10 +334,11 @@
 %   \cs{fp_to_decimal:n}.  Negative numbers start with~|-|.  The
 %   special values $\pm 0$, $\pm\infty$ and~\nan{} are rendered as
 %   |0|, |-0|, \texttt{inf}, \texttt{-inf}, and~\texttt{nan}
-%   respectively.
+%   respectively. Normal category codes apply and thus \texttt{inf} or
+%   \texttt{nan}, if produced, will be made up of letters.
 % \end{function}
 %
-% \begin{function}[EXP, updated = 2012-07-08, tested = m3fp-convert003]
+% \begin{function}[EXP, updated = 2012-07-08]
 %   {\fp_use:N, \fp_use:c}
 %   \begin{syntax}
 %     \cs{fp_use:N} \meta{fp~var}
diff --git a/l3kernel/testfiles/m3fp-convert003.lvt b/l3kernel/testfiles/m3fp-convert003.lvt
deleted file mode 100644
index 69dfa2a..0000000
--- a/l3kernel/testfiles/m3fp-convert003.lvt
+++ /dev/null
@@ -1,149 +0,0 @@
-%
-% Copyright (C) 2012 LaTeX3 Project
-%
-
-\documentclass{minimal}
-\input{regression-test}
-
-\RequirePackage[check-declarations,log-functions]{expl3}
-
-\begin{document}
-\START
-\AUTHOR{Bruno Le Floch}
-\ExplSyntaxOn
-
-\OMIT
-% Test that the category codes are all 12.
-\cs_set:Npn \test:w #1#2#3#4#5#6#7#8#9 \q_stop { #1#2#3#4#5#6#7#8 }
-\cs_set_protected:Npn \test:n #1
-  {
-    \TYPE { | \test:w #1 {}{}{}{}{}{}{}{} \q_stop | }
-    \exp_args:No \tl_if_eq:nnF { \tl_to_str:n {#1} } {#1} { \ERROR }
-  }
-\cs_set_protected:Npn \test:nn #1#2
-  {
-    \fp_set:Nn \l_tmpa_fp {#2}
-    \test:x { \use:c { fp_#1:N } \l_tmpa_fp }
-    \test:x { \use:c { fp_#1:n } {#2} }
-  }
-\cs_generate_variant:Nn \test:n { x }
-\TIMO
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_to_scientific~catcodes }
-  {
-    \test:nn { to_scientific } { 0 }
-    \test:nn { to_scientific } { 0.01 }
-    \test:nn { to_scientific } { 1.234e6 }
-    \test:nn { to_scientific } { 1.234e17 }
-    \test:nn { to_scientific } { -1.234500e-6 }
-    \test:nn { to_scientific } { -inf }
-    \test:nn { to_scientific } { inf }
-    \test:nn { to_scientific } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_to_decimal~catcodes }
-  {
-    \test:nn { to_decimal } { 0 }
-    \test:nn { to_decimal } { 0.01 }
-    \test:nn { to_decimal } { 1.234e6 }
-    \test:nn { to_decimal } { 1.234e17 }
-    \test:nn { to_decimal } { -1.234500e-6 }
-    \test:nn { to_decimal } { -inf }
-    \test:nn { to_decimal } { inf }
-    \test:nn { to_decimal } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_to_tl~catcodes }
-  {
-    \test:nn { to_tl } { 0 }
-    \test:nn { to_tl } { 0.01 }
-    \test:nn { to_tl } { 1.234e6 }
-    \test:nn { to_tl } { 1.234e17 }
-    \test:nn { to_tl } { -1.234500e-6 }
-    \test:nn { to_tl } { -inf }
-    \test:nn { to_tl } { inf }
-    \test:nn { to_tl } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_to_dim~catcodes }
-  {
-    \test:nn { to_dim } { 0 }
-    \test:nn { to_dim } { 0.01 }
-    \test:nn { to_dim } { 1.234e6 }
-    \test:nn { to_dim } { 1.234e17 }
-    \test:nn { to_dim } { -1.234500e-6 }
-    \test:nn { to_dim } { -inf }
-    \test:nn { to_dim } { inf }
-    \test:nn { to_dim } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_to_int~catcodes }
-  {
-    \test:nn { to_int } { 0 }
-    \test:nn { to_int } { 0.01 }
-    \test:nn { to_int } { 1.234e6 }
-    \test:nn { to_int } { 1.234e17 }
-    \test:nn { to_int } { -1.234500e-6 }
-    \test:nn { to_int } { -inf }
-    \test:nn { to_int } { inf }
-    \test:nn { to_int } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_use~and~fp_eval~catcodes }
-  {
-    \cs_set_eq:NN \fp_use:n \fp_eval:n
-    \test:nn { use } { 0 }
-    \test:nn { use } { 0.01 }
-    \test:nn { use } { 1.234e6 }
-    \test:nn { use } { 1.234e17 }
-    \test:nn { use } { -1.234500e-6 }
-    \test:nn { use } { -inf }
-    \test:nn { use } { inf }
-    \test:nn { use } { nan }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\TEST { fp_abs~catcodes }
-  {
-    \test:x { \fp_abs:n { 0 } }
-    \test:x { \fp_abs:n { 0.01 } }
-    \test:x { \fp_abs:n { 1.234e6 } }
-    \test:x { \fp_abs:n { 1.234e17 } }
-    \test:x { \fp_abs:n { -1.234500e-6 } }
-    \test:x { \fp_abs:n { -inf } }
-    \test:x { \fp_abs:n { inf } }
-    \test:x { \fp_abs:n { nan } }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\TEST { fp_max~and~min }
-  {
-    \test:x { \fp_max:nn { 0 } { 0 } }
-    \test:x { \fp_max:nn { 0.01 } { 0.00001} }
-    \test:x { \fp_max:nn { 1.234e6 } { 1.234 } }
-    \test:x { \fp_max:nn { 1.234e17 }  { inf } }
-    \test:x { \fp_max:nn { -1.234500e-6 } { 10 } }
-    \test:x { \fp_max:nn { -inf } { inf } }
-    \test:x { \fp_max:nn { inf } { inf } }
-    \test:x { \fp_max:nn { nan } { 10 } }
-    \test:x { \fp_min:nn { 0 } { 0 } }
-    \test:x { \fp_min:nn { 0.01 } { 0.00001} }
-    \test:x { \fp_min:nn { 1.234e6 } { 1.234 } }
-    \test:x { \fp_min:nn { 1.234e17 }  { inf } }
-    \test:x { \fp_min:nn { -1.234500e-6 } { 10 } }
-    \test:x { \fp_min:nn { -inf } { inf } }
-    \test:x { \fp_min:nn { inf } { inf } }
-    \test:x { \fp_min:nn { nan } { 10 } }
-  }
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\END
diff --git a/l3kernel/testfiles/m3fp-convert003.tlg b/l3kernel/testfiles/m3fp-convert003.tlg
deleted file mode 100644
index 480bc17..0000000
--- a/l3kernel/testfiles/m3fp-convert003.tlg
+++ /dev/null
@@ -1,515 +0,0 @@
-This is a generated file for the LaTeX (2e + expl3) validation system.
-Don't change this file in any respect.
-Author: Bruno Le Floch
-============================================================
-TEST 1: fp_to_scientific catcodes
-============================================================
-|0|
-|0|
-|1e-2|
-|1e-2|
-|1.234e6|
-|1.234e6|
-|1.234e17|
-|1.234e17|
-|-1.2345e|
-|-1.2345e|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1e10000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1e10000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|1e10000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|1e10000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_scientific(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================
-============================================================
-TEST 2: fp_to_decimal catcodes
-============================================================
-|0|
-|0|
-|0.01|
-|0.01|
-|1234000|
-|1234000|
-|12340000|
-|12340000|
-|-0.00000|
-|-0.00000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================
-============================================================
-TEST 3: fp_to_tl catcodes
-============================================================
-|0|
-|0|
-|0.01|
-|0.01|
-|1234000|
-|1234000|
-|1.234e17|
-|1.234e17|
-|-1.2345e|
-|-1.2345e|
-|-inf|
-|-inf|
-|inf|
-|inf|
-|nan|
-|nan|
-============================================================
-============================================================
-TEST 4: fp_to_dim catcodes
-============================================================
-|0pt|
-|0pt|
-|0.01pt|
-|0.01pt|
-|1234000p|
-|1234000p|
-|12340000|
-|12340000|
-|-0.00000|
-|-0.00000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0pt|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0pt|
-============================================================
-============================================================
-TEST 5: fp_to_int catcodes
-============================================================
-|0|
-|0|
-|0|
-|0|
-|1234000|
-|1234000|
-|12340000|
-|12340000|
-|-0|
-|-0|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================
-============================================================
-TEST 6: fp_use and fp_eval catcodes
-============================================================
-|0|
-|0|
-|0.01|
-|0.01|
-|1234000|
-|1234000|
-|12340000|
-|12340000|
-|-0.00000|
-|-0.00000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================
-============================================================
-TEST 7: fp_abs catcodes
-============================================================
-|0|
-|0.01|
-|1234000|
-|12340000|
-|0.000001|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================
-============================================================
-TEST 8: fp_max and min
-============================================================
-|0|
-|0.01|
-|1234000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-|10|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-|0|
-|0.00001|
-|1.234|
-|12340000|
-|-0.00000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(-inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|-1000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(inf)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|10000000|
-! Undefined control sequence.
-<argument> \LaTeX3 error: 
-                           Invalid operation fp_to_decimal(nan)
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-|0|
-============================================================

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list