summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bnumexpr
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-04 23:27:27 +0000
committerKarl Berry <karl@freefriends.org>2014-11-04 23:27:27 +0000
commitdbe0dfa8444b80708600bb095b9506d3c471a4a9 (patch)
treea7748158e46f83fa19c51dd3f6b919a7554d8a7b /Master/texmf-dist/doc/latex/bnumexpr
parent3204625d039b08404dcdbfd9fbf1c09be3581238 (diff)
bnumexpr (4nov14)
git-svn-id: svn://tug.org/texlive/trunk@35511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bnumexpr')
-rw-r--r--Master/texmf-dist/doc/latex/bnumexpr/README34
-rw-r--r--Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdfbin90610 -> 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
index 65240f9613d..dcdee91d82f 100644
--- a/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf
+++ b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf
Binary files differ