diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-17 21:45:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-17 21:45:53 +0000 |
commit | 522964b40afca63660485cdcfc577b25bdf02e35 (patch) | |
tree | a49bd7b714409b6b06338b793d7c9921f0398f8f /Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx | |
parent | 7f75afca3aa3d645c67ee84efeb01c08482d71ac (diff) |
l3 (17jul20)
git-svn-id: svn://tug.org/texlive/trunk@55860 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx index 28257218e7e..c3125a8478c 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx @@ -40,7 +40,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2020-06-18} +% \date{Released 2020-07-17} % % \maketitle % @@ -1643,7 +1643,7 @@ % \end{macro} % % \begin{macro}[rEXP] -% {\@@_parse_exponent:N, \@@_parse_exponent_aux:N} +% {\@@_parse_exponent:N, \@@_parse_exponent_aux:NN} % This function should be called within an \cs{int_value:w} % expansion (or within an integer expression). It leaves digits of the % exponent behind it in the input stream, and terminates the expansion @@ -1657,22 +1657,23 @@ \cs_new:Npn \@@_parse_exponent:N #1 { \if:w e \if:w E \exp_not:N #1 e \else: \exp_not:N #1 \fi: - \exp_after:wN \@@_parse_exponent_aux:N + \exp_after:wN \@@_parse_exponent_aux:NN + \exp_after:wN #1 \exp:w \else: 0 \@@_parse_return_semicolon:w #1 \fi: \@@_parse_expand:w } -\cs_new:Npn \@@_parse_exponent_aux:N #1 +\cs_new:Npn \@@_parse_exponent_aux:NN #1#2 { - \if_int_compare:w \if_catcode:w \scan_stop: \exp_not:N #1 - 0 \else: `#1 \fi: > `9 \exp_stop_f: - 0 \exp_after:wN ; \exp_after:wN e + \if_int_compare:w \if_catcode:w \scan_stop: \exp_not:N #2 + 0 \else: `#2 \fi: > `9 \exp_stop_f: + 0 \exp_after:wN ; \exp_after:wN #1 \else: \exp_after:wN \@@_parse_exponent_sign:N \fi: - #1 + #2 } % \end{macrocode} % \end{macro} |