summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bnumexpr/README
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-27 21:26:37 +0000
committerKarl Berry <karl@freefriends.org>2017-07-27 21:26:37 +0000
commit489bf93080c55ee77ca42507502afcbfdec203aa (patch)
treec4fe2f155d614279d3d821534d46f270786d7769 /Master/texmf-dist/doc/latex/bnumexpr/README
parentfe6cc7d43e9608cb5bb2533480000837d7cf4827 (diff)
bnumexpr (27jul17)
git-svn-id: svn://tug.org/texlive/trunk@44901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bnumexpr/README')
-rw-r--r--Master/texmf-dist/doc/latex/bnumexpr/README43
1 files changed, 23 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/bnumexpr/README b/Master/texmf-dist/doc/latex/bnumexpr/README
index 74d6c9fbf4e..2d0ac851765 100644
--- a/Master/texmf-dist/doc/latex/bnumexpr/README
+++ b/Master/texmf-dist/doc/latex/bnumexpr/README
@@ -1,8 +1,8 @@
Source: bnumexpr.dtx
-Version: v1.2a, 2015/10/14 (doc: 2015/10/14)
+Version: v1.2b, 2017/07/09 (doc: 2017/07/09)
Author: Jean-Francois Burnol
Info: Expressions with big integers
-License: LPPL 1.3c or later
+License: LPPL 1.3c
@@ -11,38 +11,38 @@ README: USAGE, INSTALLATION, LICENSE
Usage
-The package bnumexpr allows _expandable_ computations with big integers,
-the four infix operators +, -, *, / (which does rounded division), the
-power operators ^ or **, the factorial !, the truncated division //, and
-its associated modulo /:.
+The package bnumexpr allows _expandable_ computations with big integers
+and the four infix operators +, -, *, / (which does rounded integer
+division) familiar from the \numexpr e-TeX parser.
+
+Besides extending the scope to arbitrarily big numbers (and having a
+more complete syntax, for example -(1) is legal input), it adds the
+truncated division operator //, and its associated modulo /:, the power
+operator ^ (or equivalently **), and the factorial post-fix operator !.
+The space character as well as the underscore character _ both may serve
+to optionally separate digits in long numbers, for better readability of
+the input.
For example:
- \thebnumexpr (92874927979^5-3197927979^6)/30!\relax
+ \thebnumexpr ( 92_874_927_979^5 - 31_9792_7979^6 ) / 30!\relax
-outputs -4006240736596543944035189.
+expands (in two steps) to -4006240736596543944035189.
The \relax ending token is mandatory and will be removed as a result of
the evaluation.
-The expression parser is scaled-down from \xinttheiiexpr...\relax from
-package xintexpr [1], it does not handle boolean operators, conditional
-branching, variables and recognizes no functions.
+The expression parser is scaled-down from the \xinttheiiexpr...\relax
+parser as provided by package xintexpr[1]: it does not handle boolean
+operators, dummy or user defined variables, functions, etc...
By default the underlying arithmetic macros are the ones provided by
-package xintcore [2] (its release 1.2 is required).
-
-[1] http://www.ctan.org/pkg/xint
-[2] http://www.ctan.org/pkg/xint
+package xintcore[2] (its release 1.2 is required).
bnumexpr has only one option _custom_ which says to not load xintcore,
and a command \bnumexprsetup to inform the package which macros to use
if not those from xintcore.
-This is a breaking release: some options and commands from v1.1 are not
-defined anymore (as \bnumexprsetup provides a new interface), and
-documents which used them will need updating.
-
Notice that the possibility not to use the xintcore macros might be
removed in the future: perhaps a future release will maintain during
computations a private internal representation (especially taylored
@@ -102,7 +102,7 @@ Files bnumexpr.tex, bnumexprchanges.tex, README.md may be discarded.
License
-Copyright (C) 2014-2015 by Jean-Francois Burnol
+Copyright (C) 2014-2017 by Jean-Francois Burnol
This Work may be distributed and/or modified under the
conditions of the LaTeX Project Public License 1.3c.
@@ -123,3 +123,6 @@ files
bnumexpr.sty, bnumexpr.pdf, bnumexpr.ins, bnumexpr.tex,
bnumexprchanges.tex, README.md
+[1] http://www.ctan.org/pkg/xint
+
+[2] http://www.ctan.org/pkg/xint