aboutsummaryrefslogtreecommitdiff
path: root/doc/appendix.tex
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-14 18:08:44 +0200
committerEugen Wissner <belka@caraus.de>2026-07-14 18:08:44 +0200
commita32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (patch)
treeecfb6140075e3c46b599755e220dbf560de2e31d /doc/appendix.tex
parent51e2f98e33ae10fc3052335cc6847bc93d0784fa (diff)
downloadelna-a32a61813ebaecf0c1e69fd1481bf09d8c8b1420.tar.gz
Support more floating point literals
Diffstat (limited to 'doc/appendix.tex')
-rw-r--r--doc/appendix.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/appendix.tex b/doc/appendix.tex
index 71b0cc4..36bb72a 100644
--- a/doc/appendix.tex
+++ b/doc/appendix.tex
@@ -35,8 +35,11 @@
\alt{} `0' (`X' | `x') <hex-digit> \{<hex-digit>\}
\alt{} `0' (`B' | `b') <binary-digit> \{<binary-digit>\}.
+<scale-factor> = (`e' | `E') [`+' | `-'] <decimal-digit> \{<decimal-digit>\}.
+
<real-literal> = <integer-literal> `.\@' <decimal-digit> \{<decimal-digit>\}
- \alt{} <integer-literal>\} `e' [`+' | `-'] <decimal-digit> \{<decimal-digit>\}.
+ [<scale-factor>]
+ \alt{} <integer-literal> <scale-factor>.
<character-literal> = `\textquotesingle' <character> `\textquotesingle'.