summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/xint/README
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-11 21:21:00 +0000
committerKarl Berry <karl@freefriends.org>2015-10-11 21:21:00 +0000
commitc42b50b291d00f547400888b81ef4d2bcad45142 (patch)
tree9ab2f5792d7627887e9f858a103ba1c7de329a67 /Master/texmf-dist/doc/generic/xint/README
parentced6522f86e501ede0097c2b6362bc17603b6eef (diff)
xint (11oct15)
git-svn-id: svn://tug.org/texlive/trunk@38612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/xint/README')
-rw-r--r--Master/texmf-dist/doc/generic/xint/README31
1 files changed, 29 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/xint/README b/Master/texmf-dist/doc/generic/xint/README
index 3aff524f028..81b28347704 100644
--- a/Master/texmf-dist/doc/generic/xint/README
+++ b/Master/texmf-dist/doc/generic/xint/README
@@ -1,4 +1,4 @@
- Source: xint.dtx v1.1c 2015/09/12 (doc 2015/09/17)
+ Source: xint.dtx v1.2 2015/10/10 (doc 2015/10/10)
Author: Jean-Francois Burnol
Info: Expandable operations on big integers, decimals, fractions
License: LPPL 1.3c
@@ -12,6 +12,33 @@ as sourcexint.pdf.
+AIM
+
+
+The basic aim is provide _expandable_ computations on big integers, and
+also big fractions. For example
+
+ \xinttheexpr reduce(37189719/183618963+11390170/17310720)^17\relax
+
+will evaluate exactly the fraction (the result has 462 characters
+including the fraction slash). One can also work with dummy variables.
+For example
+
+ \xinttheexpr mul(add(x(x+1)(x+2), x=y..y+15), y=171286,98762,9296)\relax
+
+evaluates to 15979066346135829902328007959448563667099190784.
+
+It is possible to use the package with Plain as well as with LaTeX.
+
+Sub-units xintcore, xint and xintfrac provide the underlying macros, and
+xintexpr loads all of them and provides expandable parsers allowing
+computations such as the above (and more). A more light-weight package
+bnumexpr (LaTeX only) loads only xintcore and provides a parser which
+handles only big integers, the four operations, the power operation and
+the factorial (v1.2).
+
+
+
USAGE
@@ -42,7 +69,7 @@ their standard catcodes.
xintcore.sty and xinttools.sty both import xintkernel.sty which has the
catcode handler and package identifier and defines a few utilities such
-as \oodef or \xint_dothis/\xint_orthat.
+as \oodef, \fdef, or \xint_dothis/\xint_orthat.