summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3fp-parse.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3fp-parse.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3fp-parse.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3kernel/l3fp-parse.dtx b/macros/latex/contrib/l3kernel/l3fp-parse.dtx
index e69b63ba05..8c5a03bd24 100644
--- a/macros/latex/contrib/l3kernel/l3fp-parse.dtx
+++ b/macros/latex/contrib/l3kernel/l3fp-parse.dtx
@@ -40,7 +40,7 @@
% {latex-team@latex-project.org}^^A
% }^^A
% }
-% \date{Released 2020-04-06}
+% \date{Released 2020-05-05}
%
% \maketitle
%
@@ -1647,8 +1647,8 @@
% 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
-% with a semicolon. If there is no~|e|, leave an exponent of~$0$. If
-% there is an~|e|, expand the next token to run some tests on it. The
+% with a semicolon. If there is no~|e| (or~|E|), leave an exponent of~$0$. If
+% there is an~|e| or~|E|, expand the next token to run some tests on it. The
% first rough test is that if the character code of~|#1| is greater
% than that of~|9| (largest code valid for an exponent, less than any
% code valid for an identifier), there was in fact no exponent;
@@ -1656,7 +1656,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_parse_exponent:N #1
{
- \if:w e \exp_not: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:w
\else: