summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bnumexpr/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/bnumexpr/README')
-rw-r--r--Master/texmf-dist/doc/latex/bnumexpr/README34
1 files changed, 16 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/bnumexpr/README b/Master/texmf-dist/doc/latex/bnumexpr/README
index 857946c5a11..c7070cbcaf1 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.2c, 2017/12/05 (doc: 2017/12/05)
+Version: v1.2d, 2019/01/07 (doc: 2019/01/07)
Author: Jean-Francois Burnol
Info: Expressions with big integers
License: LPPL 1.3c
@@ -12,8 +12,8 @@ README: USAGE, INSTALLATION, LICENSE
Usage
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.
+and the four infix operators +, -, *, / 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 (by
@@ -25,27 +25,25 @@ readability of the input.
For example:
- \thebnumexpr ( 92_874_927_979^5 - 31_9792_7979^6 ) / 30!\relax
+ \bnumeval{( 92_874_927_979^5 - 31_9792_7979^6 ) / 30!}
-expands (in two steps) to -4006240736596543944035189.
-
-The \relax ending token is mandatory and will be removed as a result of
-the evaluation.
+ The above expands (in two steps) to `-4006240736596543944035189`
+ (the `/` does rounded division to match the `\numexpr` behaviour).
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).
+parser as provided by package xintexpr[1]: it does not handle
+hexadecimal input, boolean operators, dummy or user defined variables,
+functions, etc...
-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.
+By default, the package loads xintcore[2] (release 1.3d is then
+required) but it is possible via option _custom_ and macro
+\bnumexprsetup to map the operators to macros of one's own choice. It is
+the responsability of the user to load the packages providing these
+custom macros.
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
+computations a private internal representation (especially tailored
either for the xintcore macros or new ones which would be included
within bnumexpr.sty itself) and the constraints this implies may render
optional use of other macros impossible.
@@ -102,7 +100,7 @@ Files bnumexpr.tex, bnumexprchanges.tex, README.md may be discarded.
License
-Copyright (C) 2014-2017 by Jean-Francois Burnol
+Copyright (C) 2014-2019 by Jean-Francois Burnol
This Work may be distributed and/or modified under the
conditions of the LaTeX Project Public License 1.3c.