From 6df54a5d07db68aa119eceb9d1d5d7bd25b0ff69 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 Feb 2019 22:05:09 +0000 Subject: polexpr (12feb19) git-svn-id: svn://tug.org/texlive/trunk@50013 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/polexpr/README.md | 5 ++++- Master/texmf-dist/doc/latex/polexpr/polexpr.html | 13 +++++++++++-- Master/texmf-dist/doc/latex/polexpr/polexpr.txt | 10 ++++++++-- Master/texmf-dist/tex/latex/polexpr/polexpr.sty | 7 ++++--- 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 {

Package polexpr documentation

-

0.7.3 (2019/02/04)

+

0.7.4 (2019/02/12)

@@ -2868,7 +2868,7 @@ existed (thanks to Thomas Söll for report).
  • 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.
        • \PolPrintIntervalsTheVar remained defined after @@ -2882,6 +2882,15 @@ 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.
          • +
          +
        • +
        +
  • 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 -- cgit v1.2.3