texlive[50013] Master/texmf-dist: polexpr (12feb19)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 12 23:05:09 CET 2019


Revision: 50013
          http://tug.org/svn/texlive?view=revision&revision=50013
Author:   karl
Date:     2019-02-12 23:05:09 +0100 (Tue, 12 Feb 2019)
Log Message:
-----------
polexpr (12feb19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/polexpr/README.md
    trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.html
    trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.txt
    trunk/Master/texmf-dist/tex/latex/polexpr/polexpr.sty

Modified: trunk/Master/texmf-dist/doc/latex/polexpr/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/polexpr/README.md	2019-02-12 22:04:54 UTC (rev 50012)
+++ trunk/Master/texmf-dist/doc/latex/polexpr/README.md	2019-02-12 22:05:09 UTC (rev 50013)
@@ -78,8 +78,11 @@
 - 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),

Modified: trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.html	2019-02-12 22:04:54 UTC (rev 50012)
+++ trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.html	2019-02-12 22:05:09 UTC (rev 50013)
@@ -362,7 +362,7 @@
 <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 @@
 </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,7 +2882,16 @@
 </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">
 <h1><a class="toc-backref" href="#id160">Acknowledgments</a></h1>

Modified: trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.txt	2019-02-12 22:04:54 UTC (rev 50012)
+++ trunk/Master/texmf-dist/doc/latex/polexpr/polexpr.txt	2019-02-12 22:05:09 UTC (rev 50013)
@@ -4,7 +4,7 @@
  Package polexpr documentation
 ===============================
 
-0.7.3 (2019/02/04)
+0.7.4 (2019/02/12)
 ==================
 
 .. contents::
@@ -2548,7 +2548,7 @@
 
 - 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,7 +2560,13 @@
     - 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
 ---------------
 

Modified: trunk/Master/texmf-dist/tex/latex/polexpr/polexpr.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/polexpr/polexpr.sty	2019-02-12 22:04:54 UTC (rev 50012)
+++ trunk/Master/texmf-dist/tex/latex/polexpr/polexpr.sty	2019-02-12 22:05:09 UTC (rev 50013)
@@ -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 at restorecatcodes
     {\catcode`\noexpand\_ \the\catcode`\_ %
@@ -1021,7 +1021,7 @@
   \edef\POL at findrat@halflocalW{\the\numexpr(\POL at 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 at findrat@localW>10
+  \ifnum\POL at findrat@localW>9
     % not implemented yet by lazyness!
     % this root will be handled in second pass only
   \else
@@ -1047,12 +1047,13 @@
 \def\POL at findrat@gcdloop at p{%
   \edef\POL at findrat@gcdloop at Ap{\xintDec{\xintDouble\POL at IsoRight@Int}}%
   \edef\POL at findrat@gcdloop at A
+  % at most 2e9: this is acceptable to \numexpr
       {2\romannumeral\xintreplicate\POL at findrat@localW{0}}%
   \xintAssign
     \xintiiDivision\POL at findrat@gcdloop at Ap\POL at findrat@gcdloop at A
   \to\POL at findrat@gcdloop at B\POL at findrat@gcdloop at 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 at findrat@gcdloop at Binitial\POL at findrat@gcdloop at B
   \def\POL at findrat@gcdloop at B{0}%  do as if B1 = 0



More information about the tex-live-commits mailing list