[latex3-commits] [git/LaTeX3-latex3-latex3] l3bitset-2: correct docu about max length (91485c711)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Dec 29 14:00:36 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : l3bitset-2
Link       : https://github.com/latex3/latex3/commit/91485c711ec1911d6bc17469e2bde7bea2626e7b

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

commit 91485c711ec1911d6bc17469e2bde7bea2626e7b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Dec 29 14:00:36 2020 +0100

    correct docu about max length


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

91485c711ec1911d6bc17469e2bde7bea2626e7b
 l3experimental/l3bitset/l3bitset.dtx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3experimental/l3bitset/l3bitset.dtx b/l3experimental/l3bitset/l3bitset.dtx
index e5bd8d17a..2eb01c6d8 100644
--- a/l3experimental/l3bitset/l3bitset.dtx
+++ b/l3experimental/l3bitset/l3bitset.dtx
@@ -59,7 +59,10 @@
 %
 % The bitset is stored as a string (but one shouldn't rely on the internal
 % representation) and so the vector size is theoretically
-% unlimited, only restricted by \TeX-memory. But the export function
+% unlimited, only restricted by \TeX-memory. But the functions to set and clear
+% bits uses integer functions for the index so bitsets can't be longer
+% than $2^{31} −1$.
+% The export function
 % \cs{bitset_to_arabic:N} can use functions from the \texttt{int} module only if
 % the largest index used for this bitset is smaller then 32, for longer
 % bitsets \texttt{fp} is used and this is slower.





More information about the latex3-commits mailing list.