summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xint/xintfrac.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-16 22:23:49 +0000
committerKarl Berry <karl@freefriends.org>2015-11-16 22:23:49 +0000
commitbfcd7527b0f8985ecc54376d0e2b1aaa9f4b53e7 (patch)
treecf8d1be2d41875fb27db260922b97ae5431ca813 /Master/texmf-dist/tex/generic/xint/xintfrac.sty
parentd8258d9565c2f3e2c0e2a4d6f71099f8f604bbed (diff)
xint (16nov15)
git-svn-id: svn://tug.org/texlive/trunk@38876 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/xint/xintfrac.sty')
-rw-r--r--Master/texmf-dist/tex/generic/xint/xintfrac.sty8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xintfrac.sty b/Master/texmf-dist/tex/generic/xint/xintfrac.sty
index d8280d3df97..018ce1554a5 100644
--- a/Master/texmf-dist/tex/generic/xint/xintfrac.sty
+++ b/Master/texmf-dist/tex/generic/xint/xintfrac.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% ---------------------------------------------------------------
-%% The xint bundle v1.2b 2015/10/29
+%% The xint bundle v1.2c 2015/11/16
%% Copyright (C) 2013-2015 by Jean-Francois Burnol
%% xintfrac: Expandable operations on fractions
%% ---------------------------------------------------------------
@@ -70,7 +70,7 @@
\XINTsetupcatcodes% defined in xintkernel.sty
\XINT_providespackage
\ProvidesPackage{xintfrac}%
- [2015/10/29 v1.2b Expandable operations on fractions (jfB)]%
+ [2015/11/16 v1.2c Expandable operations on fractions (jfB)]%
\def\XINT_cntSgnFork #1%
{%
\ifcase #1\expandafter\xint_secondofthree
@@ -999,7 +999,7 @@
{%
\expandafter\XINT_round_B
\romannumeral0\expandafter\XINT_trunc_A
- \romannumeral0\XINT_infrac {#2}{\the\numexpr #1+1\relax}{#1}%
+ \romannumeral0\XINT_infrac {#2}{#1+\xint_c_i}{#1}%
}%
\def\XINT_round_B #1\Z
{%
@@ -1013,7 +1013,7 @@
}%
\def\XINT_round_C #1%
{%
- \ifnum #1<5
+ \ifnum #1<\xint_c_v
\expandafter\XINT_round_Daa
\else
\expandafter\XINT_round_Dba