diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/bnumexpr')
-rw-r--r-- | Master/texmf-dist/doc/latex/bnumexpr/README | 34 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf | bin | 90610 -> 92322 bytes |
2 files changed, 18 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/bnumexpr/README b/Master/texmf-dist/doc/latex/bnumexpr/README index 113af60fe75..1f29ae7836a 100644 --- a/Master/texmf-dist/doc/latex/bnumexpr/README +++ b/Master/texmf-dist/doc/latex/bnumexpr/README @@ -1,5 +1,5 @@ Source: bnumexpr.dtx -Version: v1.1b, 2014/10/28 +Version: v1.1b, 2014/10/28 (doc: 2014/11/04) Author: Jean-Francois Burnol Info: Expressions with big integers License: LPPL 1.3c or later @@ -24,28 +24,31 @@ is like with the difference of accepting or producing arbitrarily big integers. For example, - \thebnumexpr 30*(21-43*(512-67*(6133-812*2897)))\relax + \thebnumexpr 2*1234567890\relax -outputs -202785405180 and this computation would have created an -arithmetic overflow in \numexpr. +outputs 2469135780 which would have created an arithmetic overflow in +\numexpr as it exceeds the maximal allowed TeX integer 2147483647. \bnumexpr...\relax is a scaled down version of \xintiiexpr...\relax from package xintexpr.[1] -By default, bnumexpr loads xintcore [2] for its arithmetic macros doing -addition, subtraction, multiplication, division. +- by default, bnumexpr loads xintcore [2] for its arithmetic macros + doing addition, subtraction, multiplication, division (and powers). -- With option _custom_, xintcore is not loaded and it is up to the - user to define suitably the expandable macros\bnumexprAdd, - \bnumexprSub, \bnumexprMul, and \bnumexprDiv. +- option _allowpower_ enables ^ as power operator, for example: -- Option _bigintcalc_ loads package bigintcalc [3] and uses its + \thebnumexpr 2^31\relax % smallest integer exceeding the TeX bound + +- option _bigintcalc_ loads package bigintcalc [3] and uses its arithmetic macros rather than those from xintcore. -- Option _l3bigint_ loads rather package l3bigint [4], which is in the - experimental trunk of the on-going LaTeX3 project. +- option _l3bigint_ loads package l3bigint [4], from the experimental + trunk of the on-going LaTeX3 project. -Option _allowpower_ enables ^ as power operator. +- with option _custom_, no extra package is loaded and it is up to the + user to define suitably expandable macros \bnumexprAdd, + \bnumexprSub, \bnumexprMul, and \bnumexprDiv doing the basic + arithmetic operations. Installation @@ -77,13 +80,12 @@ bnumexpr.tex Ignore dvipdfmx warnings, but if the pdf file has problems with fonts (possibly from an old dvipdfmx), use then rather pdflatex. - - with pdflatex: set the suitable toggle in bnumexpr.tex to - disable dvipdfmx settings then "pdflatex bnumexpr.tex" (thrice). + - with pdflatex: "pdflatex bnumexpr.tex" (thrice). In both cases files bnumexprReadme.md and bnumexpr.changes must be present in the same repertory. -Without bnumexpr.tex: +without bnumexpr.tex: "pdflatex bnumexpr.dtx" (thrice) extracts all files and simultaneously generates the pdf documentation. diff --git a/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf Binary files differindex 65240f9613d..dcdee91d82f 100644 --- a/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf +++ b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf |