texlive[60761] Build/source/texk/web2c/cwebdir: [CWEB] Fix CTWILL's
commits+ascherer at tug.org
commits+ascherer at tug.org
Thu Oct 14 18:53:25 CEST 2021
Revision: 60761
http://tug.org/svn/texlive?view=revision&revision=60761
Author: ascherer
Date: 2021-10-14 18:53:25 +0200 (Thu, 14 Oct 2021)
Log Message:
-----------
[CWEB] Fix CTWILL's dyscalculia.
C/C++ calculates '0x1FFFFp10' as '134216704', which equals '131071*1024'
with '1024=2^10'. ('p' is part of the 'hex-exponent'.)
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/ctproofmac.tex
trunk/Build/source/texk/web2c/cwebdir/cttwinxmac.tex
trunk/Build/source/texk/web2c/cwebdir/ctwimac.tex
trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2021-10-13 23:48:58 UTC (rev 60760)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2021-10-14 16:53:25 UTC (rev 60761)
@@ -1,3 +1,10 @@
+2021-10-14 Andreas Scherer <https://ascherer.github.io>
+
+ * ctproofmac.tex,
+ * cttwinxmac.tex,
+ * ctwimac.tex,
+ * texinputs/pdfctwimac.tex: Fix 'base 2' for 'p' exponent.
+
2021-10-11 Andreas Scherer <https://ascherer.github.io>
* comm-w2c.ch,
Modified: trunk/Build/source/texk/web2c/cwebdir/ctproofmac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ctproofmac.tex 2021-10-13 23:48:58 UTC (rev 60760)
+++ trunk/Build/source/texk/web2c/cwebdir/ctproofmac.tex 2021-10-14 16:53:25 UTC (rev 60761)
@@ -163,7 +163,7 @@
\hbox{$\def\?{\kern.2em}%$%
\def\$##1{\egroup_{\,\rm##1}\bgroup}% suffix to constant
\def\_{\cdot 10^{\aftergroup}}% power of ten (via dirty trick)
- \def\%{\cdot 16^{\aftergroup}}% power of sixteen (via dirty trick)
+ \def\%{\cdot 2^{\aftergroup}}% power of two (via dirty trick)
\let\~=\oct \let\^=\hex \let\\=\bin{#1}$}}%$%
\def\U{\note{This code is used in section}} % xref for use of a section
\def\Us{\note{This code is used in sections}} % xref for uses of a section
Modified: trunk/Build/source/texk/web2c/cwebdir/cttwinxmac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cttwinxmac.tex 2021-10-13 23:48:58 UTC (rev 60760)
+++ trunk/Build/source/texk/web2c/cwebdir/cttwinxmac.tex 2021-10-14 16:53:25 UTC (rev 60761)
@@ -225,6 +225,7 @@
\hbox{${\def\?{\kern.2em}%
\def\${\ell}% long constant
\def\_{\cdot 10^{\aftergroup}}% power of ten (via dirty trick)
+ \def\%{\cdot 2^{\aftergroup}}% power of two (via dirty trick)
\let\~=\oct \let\^=\hex #1}$}}
\def\U{\note{This code is used in section}} % xref for use of a section
\def\Us{\note{This code is used in sections}} % xref for uses of a section
Modified: trunk/Build/source/texk/web2c/cwebdir/ctwimac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ctwimac.tex 2021-10-13 23:48:58 UTC (rev 60760)
+++ trunk/Build/source/texk/web2c/cwebdir/ctwimac.tex 2021-10-14 16:53:25 UTC (rev 60761)
@@ -280,7 +280,7 @@
\hbox{$\def\?{\kern.2em}%$%
\def\$##1{\egroup_{\,\rm##1}\bgroup}% suffix to constant
\def\_{\cdot 10^{\aftergroup}}% power of ten (via dirty trick)
- \def\%{\cdot 16^{\aftergroup}}% power of sixteen (via dirty trick)
+ \def\%{\cdot 2^{\aftergroup}}% power of two (via dirty trick)
\let\~=\oct \let\^=\hex \let\\=\bin{#1}$}}%$%
\def\U{\note{This code is used in section}} % xref for use of a section
\def\Us{\note{This code is used in sections}} % xref for uses of a section
Modified: trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex 2021-10-13 23:48:58 UTC (rev 60760)
+++ trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex 2021-10-14 16:53:25 UTC (rev 60761)
@@ -470,7 +470,7 @@
\hbox{$\def\?{\kern.2em}%$%
\def\$##1{\egroup_{\,\rm##1}\bgroup}% suffix to constant
\def\_{\cdot 10^{\aftergroup}}% power of ten (via dirty trick)
- \def\%{\cdot 16^{\aftergroup}}% power of sixteen (via dirty trick)
+ \def\%{\cdot 2^{\aftergroup}}% power of two (via dirty trick)
\let\~=\oct \let\^=\hex \let\\=\bin{#1}$}}%$%
\def\U{\note{This code is used in section}} % xref for use of a section
\def\Us{\note{This code is used in sections}} % xref for uses of a section
More information about the tex-live-commits
mailing list.