summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xint/xintbinhex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/xint/xintbinhex.sty')
-rw-r--r--Master/texmf-dist/tex/generic/xint/xintbinhex.sty30
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xintbinhex.sty b/Master/texmf-dist/tex/generic/xint/xintbinhex.sty
index 1fb50a91f74..1bcfb127830 100644
--- a/Master/texmf-dist/tex/generic/xint/xintbinhex.sty
+++ b/Master/texmf-dist/tex/generic/xint/xintbinhex.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% ---------------------------------------------------------------
-%% The xint bundle v1.2 2015/10/10
+%% The xint bundle v1.2a 2015/10/19
%% Copyright (C) 2013-2015 by Jean-Francois Burnol
%% xintbinhex: Expandable binary and hexadecimal conversions
%% ---------------------------------------------------------------
@@ -70,7 +70,7 @@
\XINTsetupcatcodes% defined in xintkernel.sty
\XINT_providespackage
\ProvidesPackage{xintbinhex}%
- [2015/10/10 v1.2 Expandable binary and hexadecimal conversions (jfB)]%
+ [2015/10/19 v1.2a Expandable binary and hexadecimal conversions (jfB)]%
\newcount\xint_c_ii^xv \xint_c_ii^xv 32768
\newcount\xint_c_ii^xvi \xint_c_ii^xvi 65536
\newcount\xint_c_x^v \xint_c_x^v 100000
@@ -198,7 +198,7 @@
\def\XINT_OQ_end_i \Z #1#2#3#4#5#6#7#8\Z { #1#2#3#4#5#6#7#80}%
\def\xintDecToHex {\romannumeral0\xintdectohex }%
\def\xintdectohex #1%
- {\expandafter\XINT_dth_checkin\romannumeral-`0#1\W\W\W\W \T}%
+ {\expandafter\XINT_dth_checkin\romannumeral`&&@#1\W\W\W\W \T}%
\def\XINT_dth_checkin #1%
{%
\xint_UDsignfork
@@ -207,10 +207,10 @@
\krof
}%
\def\XINT_dth_N {\expandafter\xint_minus_thenstop\romannumeral0\XINT_dth_P }%
-\def\XINT_dth_P {\expandafter\XINT_dth_III\romannumeral-`0\XINT_dtbh_I {0.}}%
+\def\XINT_dth_P {\expandafter\XINT_dth_III\romannumeral`&&@\XINT_dtbh_I {0.}}%
\def\xintDecToBin {\romannumeral0\xintdectobin }%
\def\xintdectobin #1%
- {\expandafter\XINT_dtb_checkin\romannumeral-`0#1\W\W\W\W \T }%
+ {\expandafter\XINT_dtb_checkin\romannumeral`&&@#1\W\W\W\W \T }%
\def\XINT_dtb_checkin #1%
{%
\xint_UDsignfork
@@ -219,7 +219,7 @@
\krof
}%
\def\XINT_dtb_N {\expandafter\xint_minus_thenstop\romannumeral0\XINT_dtb_P }%
-\def\XINT_dtb_P {\expandafter\XINT_dtb_III\romannumeral-`0\XINT_dtbh_I {0.}}%
+\def\XINT_dtb_P {\expandafter\XINT_dtb_III\romannumeral`&&@\XINT_dtbh_I {0.}}%
\def\XINT_dtbh_I #1#2#3#4#5%
{%
\xint_gob_til_W #5\XINT_dtbh_II_a\W\XINT_dtbh_I_a {}{#2#3#4#5}#1\Z.%
@@ -292,13 +292,13 @@
{%
\xint_gob_til_Z #2\XINT_dth_end\Z
\expandafter\XINT_dth_III\expandafter
- {\romannumeral-`0\XINT_dth_small #2.#1}%
+ {\romannumeral`&&@\XINT_dth_small #2.#1}%
}%
\def\XINT_dth_small #1.%
{%
\expandafter\XINT_smallhex\expandafter
{\the\numexpr (#1+\xint_c_ii^vii)/\xint_c_ii^viii-\xint_c_i\expandafter}%
- \romannumeral-`0\expandafter\XINT_smallhex\expandafter
+ \romannumeral`&&@\expandafter\XINT_smallhex\expandafter
{\the\numexpr
#1-((#1+\xint_c_ii^vii)/\xint_c_ii^viii-\xint_c_i)*\xint_c_ii^viii}%
}%
@@ -321,13 +321,13 @@
{%
\xint_gob_til_Z #2\XINT_dtb_end\Z
\expandafter\XINT_dtb_III\expandafter
- {\romannumeral-`0\XINT_dtb_small #2.#1}%
+ {\romannumeral`&&@\XINT_dtb_small #2.#1}%
}%
\def\XINT_dtb_small #1.%
{%
\expandafter\XINT_smallbin\expandafter
{\the\numexpr (#1+\xint_c_ii^vii)/\xint_c_ii^viii-\xint_c_i\expandafter}%
- \romannumeral-`0\expandafter\XINT_smallbin\expandafter
+ \romannumeral`&&@\expandafter\XINT_smallbin\expandafter
{\the\numexpr
#1-((#1+\xint_c_ii^vii)/\xint_c_ii^viii-\xint_c_i)*\xint_c_ii^viii}%
}%
@@ -346,7 +346,7 @@
}%
\def\xintHexToDec {\romannumeral0\xinthextodec }%
\def\xinthextodec #1%
- {\expandafter\XINT_htd_checkin\romannumeral-`0#1\W\W\W\W \T }%
+ {\expandafter\XINT_htd_checkin\romannumeral`&&@#1\W\W\W\W \T }%
\def\XINT_htd_checkin #1%
{%
\xint_UDsignfork
@@ -430,7 +430,7 @@
}%
\def\xintBinToDec {\romannumeral0\xintbintodec }%
\def\xintbintodec #1{\expandafter\XINT_btd_checkin
- \romannumeral-`0#1\W\W\W\W\W\W\W\W \T }%
+ \romannumeral`&&@#1\W\W\W\W\W\W\W\W \T }%
\def\XINT_btd_checkin #1%
{%
\xint_UDsignfork
@@ -538,7 +538,7 @@
{%
\expandafter\XINT_bth_checkin
\romannumeral0\expandafter\XINT_num_loop
- \romannumeral-`0#1\xint_relax\xint_relax
+ \romannumeral`&&@#1\xint_relax\xint_relax
\xint_relax\xint_relax
\xint_relax\xint_relax\xint_relax\xint_relax\Z
\R\R\R\R\R\R\R\R\Z \W\W\W\W\W\W\W\W
@@ -575,7 +575,7 @@
\def\xintHexToBin {\romannumeral0\xinthextobin }%
\def\xinthextobin #1%
{%
- \expandafter\XINT_htb_checkin\romannumeral-`0#1GGGGGGGG\T
+ \expandafter\XINT_htb_checkin\romannumeral`&&@#1GGGGGGGG\T
}%
\def\XINT_htb_checkin #1%
{%
@@ -615,7 +615,7 @@
\def\xintCHexToBin {\romannumeral0\xintchextobin }%
\def\xintchextobin #1%
{%
- \expandafter\XINT_chtb_checkin\romannumeral-`0#1%
+ \expandafter\XINT_chtb_checkin\romannumeral`&&@#1%
\R\R\R\R\R\R\R\R\Z \W\W\W\W\W\W\W\W
}%
\def\XINT_chtb_checkin #1%