summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-12 22:05:09 +0000
committerKarl Berry <karl@freefriends.org>2019-02-12 22:05:09 +0000
commit6df54a5d07db68aa119eceb9d1d5d7bd25b0ff69 (patch)
tree32acfcdf6d5721f5d703132ff6a98c922efcf356 /Master/texmf-dist
parent9fab16cd89e27cc5b308ce410e11068285e63c3a (diff)
polexpr (12feb19)
git-svn-id: svn://tug.org/texlive/trunk@50013 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/polexpr/README.md5
-rw-r--r--Master/texmf-dist/doc/latex/polexpr/polexpr.html13
-rw-r--r--Master/texmf-dist/doc/latex/polexpr/polexpr.txt10
-rw-r--r--Master/texmf-dist/tex/latex/polexpr/polexpr.sty7
4 files changed, 27 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/polexpr/README.md b/Master/texmf-dist/doc/latex/polexpr/README.md
index d311eb67e6b..29c0d2f5ab8 100644
--- a/Master/texmf-dist/doc/latex/polexpr/README.md
+++ b/Master/texmf-dist/doc/latex/polexpr/README.md
@@ -78,8 +78,11 @@ Releases
- 0.7.3 (2019/02/04)
Bugfix: polynomial names ending in digits caused errors. Thanks to
Thomas Söll for report.
+- 0.7.4 (2019/02/12)
+ Bugfix: 20000000000 is too big for \numexpr, shouldn't I know that?
+ Thanks to Jürgen Gilg for report.
-Files of 0.7.3 release:
+Files of 0.7.4 release:
- README.md,
- polexpr.sty (package file),
diff --git a/Master/texmf-dist/doc/latex/polexpr/polexpr.html b/Master/texmf-dist/doc/latex/polexpr/polexpr.html
index 63780d79efa..6fc48c2dd6b 100644
--- a/Master/texmf-dist/doc/latex/polexpr/polexpr.html
+++ b/Master/texmf-dist/doc/latex/polexpr/polexpr.html
@@ -362,7 +362,7 @@ ul.auto-toc {
<body>
<div class="document" id="package-polexpr-documentation">
<h1 class="title">Package polexpr documentation</h1>
-<h2 class="subtitle" id="id1">0.7.3 (2019/02/04)</h2>
+<h2 class="subtitle" id="id1">0.7.4 (2019/02/12)</h2>
<!-- comment: -*- fill-column: 72; mode: rst; -*- -->
<div class="contents topic" id="contents">
@@ -2868,7 +2868,7 @@ existed (thanks to Thomas Söll for report).</li>
</li>
<li><p class="first">v0.7.3 (2019/02/04)</p>
<ul class="simple">
-<li>bug fixes:<ul>
+<li>bugfix:<ul>
<li>Debugging information not destined to user showed in log if root
finding was done under <tt class="docutils literal">\xintverbosetrue</tt> regime.</li>
<li><a class="reference internal" href="#polprintintervalsthevar">\PolPrintIntervalsTheVar</a> remained defined after
@@ -2882,6 +2882,15 @@ Söll).</li>
</li>
</ul>
</li>
+<li><p class="first">v0.7.4 (2019/02/12)</p>
+<ul class="simple">
+<li>bugfix:<ul>
+<li>20000000000 is too big for <tt class="docutils literal">\numexpr</tt>, shouldn't I know that?
+Thanks to Jürgen Gilg for report.</li>
+</ul>
+</li>
+</ul>
+</li>
</ul>
</div>
<div class="section" id="acknowledgments">
diff --git a/Master/texmf-dist/doc/latex/polexpr/polexpr.txt b/Master/texmf-dist/doc/latex/polexpr/polexpr.txt
index 836e044f155..46ea7e32faa 100644
--- a/Master/texmf-dist/doc/latex/polexpr/polexpr.txt
+++ b/Master/texmf-dist/doc/latex/polexpr/polexpr.txt
@@ -4,7 +4,7 @@
Package polexpr documentation
===============================
-0.7.3 (2019/02/04)
+0.7.4 (2019/02/12)
==================
.. contents::
@@ -2548,7 +2548,7 @@ CHANGE LOG
- v0.7.3 (2019/02/04)
- * bug fixes:
+ * bugfix:
- Debugging information not destined to user showed in log if root
finding was done under ``\xintverbosetrue`` regime.
@@ -2560,6 +2560,12 @@ CHANGE LOG
- Polynomial names ending in digits caused errors (reported by Thomas
Söll).
+- v0.7.4 (2019/02/12)
+
+ * bugfix:
+
+ - 20000000000 is too big for ``\numexpr``, shouldn't I know that?
+ Thanks to Jürgen Gilg for report.
Acknowledgments
---------------
diff --git a/Master/texmf-dist/tex/latex/polexpr/polexpr.sty b/Master/texmf-dist/tex/latex/polexpr/polexpr.sty
index 5aca52408c7..e9509d89428 100644
--- a/Master/texmf-dist/tex/latex/polexpr/polexpr.sty
+++ b/Master/texmf-dist/tex/latex/polexpr/polexpr.sty
@@ -1,7 +1,7 @@
% author: Jean-François Burnol
% License: LPPL 1.3c (author-maintained)
\ProvidesPackage{polexpr}%
- [2019/02/04 v0.7.3 Polynomial expressions with rational coefficients (JFB)]%
+ [2019/02/12 v0.7.4 Polynomial expressions with rational coefficients (JFB)]%
\RequirePackage{xintexpr}[2018/06/17]% xint 1.3c for \ifxintglobaldefs boolean
\edef\POL@restorecatcodes
{\catcode`\noexpand\_ \the\catcode`\_ %
@@ -1021,7 +1021,7 @@
\edef\POL@findrat@halflocalW{\the\numexpr(\POL@findrat@localW+1)/2-1}%
% Legendre Theorem will be used now but we separate a branch where
% everything can be done with \numexpr
- \ifnum\POL@findrat@localW>10
+ \ifnum\POL@findrat@localW>9
% not implemented yet by lazyness!
% this root will be handled in second pass only
\else
@@ -1047,12 +1047,13 @@
\def\POL@findrat@gcdloop@p{%
\edef\POL@findrat@gcdloop@Ap{\xintDec{\xintDouble\POL@IsoRight@Int}}%
\edef\POL@findrat@gcdloop@A
+ % at most 2e9: this is acceptable to \numexpr
{2\romannumeral\xintreplicate\POL@findrat@localW{0}}%
\xintAssign
\xintiiDivision\POL@findrat@gcdloop@Ap\POL@findrat@gcdloop@A
\to\POL@findrat@gcdloop@B\POL@findrat@gcdloop@An
% on fait de la tambouille pour n'utiliser que \numexpr par la suite
- % le reste @An est < 2.10^10 au pire donc ok pour \numexpr
+ % le reste @An est < 2.10^9 au pire donc ok pour \numexpr
% we will drop integral part in our updating P
\let\POL@findrat@gcdloop@Binitial\POL@findrat@gcdloop@B
\def\POL@findrat@gcdloop@B{0}% do as if B1 = 0