summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3int.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-08-02 23:18:13 +0000
committerKarl Berry <karl@freefriends.org>2008-08-02 23:18:13 +0000
commit81dde574dee7e20779753c076ece922cdcba0fb0 (patch)
tree6fd6b740c2e6e9fd836ecef99b265445eb8dfae0 /Master/texmf-dist/tex/latex/expl3/l3int.sty
parent1a1b8177153694d230e0fcc3f541b242330aa067 (diff)
expl3 update (2aug08)
git-svn-id: svn://tug.org/texlive/trunk@10021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3int.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3int.sty17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3int.sty b/Master/texmf-dist/tex/latex/expl3/l3int.sty
index b329688b3eb..7c9ea287861 100644
--- a/Master/texmf-dist/tex/latex/expl3/l3int.sty
+++ b/Master/texmf-dist/tex/latex/expl3/l3int.sty
@@ -15,7 +15,7 @@
%% Do not distribute a modified version of this file.
%%
%%
-%% File: l3int.dtx Copyright (C) 1990-2006 LaTeX3 project
+%% File: l3int.dtx Copyright (C) 1990-2008 LaTeX3 project
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -48,7 +48,7 @@
%%
%% -----------------------------------------------------------------------
\RequirePackage{l3names}
-\GetIdInfo$Id: l3int.dtx 702 2007-11-27 14:21:49Z morten $
+\GetIdInfo$Id: l3int.dtx 738 2008-08-01 13:21:42Z morten $
{L3 Experimental Integer module}
\ProvidesExplPackage
@@ -77,7 +77,7 @@
\def:Npn \int_gdecr:c {\exp_args:Nc\int_gdecr:N}
\let:NN \int_new:N \newcount% allocation better nick the LaTeX one...
\def_new:Npn \int_new:c {\exp_args:Nc \int_new:N}
-\def_new:Npn \int_set:Nn #1#2{#1 \int_eval:w #2\scan_stop:
+\def_new:Npn \int_set:Nn #1#2{#1 \int_eval:w #2\int_eval_end:
}
\def_new:Npn \int_gset:Nn {
\pref_global:D
@@ -89,11 +89,11 @@
\def_new:Npn \int_gzero:N #1 {\pref_global:D #1=\c_zero}
\def_new:Npn \int_gzero:c {\exp_args:Nc \int_gzero:N}
\def_new:Npn \int_add:Nn #1#2{
- \int_advance:w #1 by \int_eval:w #2\scan_stop:
+ \int_advance:w #1 by \int_eval:w #2\int_eval_end:
}
\def_new:Npn\int_add:cn{\exp_args:Nc\int_add:Nn}
\def_new:Npn \int_sub:Nn #1#2{
- \int_advance:w #1-\int_eval:w #2\scan_stop:
+ \int_advance:w #1-\int_eval:w #2\int_eval_end:
}
\def_new:Npn \int_gadd:Nn {
\pref_global:D
@@ -210,8 +210,9 @@
\int_new:N \g_tmpa_int
\int_new:N \g_tmpb_int
\int_new:N \l_loop_int % a variable for use in loops (whilenum etc)
-\let_new:NN \int_eval:n \num_eval:n
-\let_new:NN \int_eval:w \num_eval:w
+\let_new:NN \int_eval:n \num_eval:n
+\let_new:NN \int_eval:w \num_eval:w
+\let_new:NN \int_eval_end: \num_eval_end:
\const_new:Nn \c_max_int {2147483647}
\def:Npn \int_pre_eval_one_arg:Nnn #1#2{\exp_args:No#1{\int_eval:w#2}}
\def:Npn \int_pre_eval_two_args:Nnn #1#2#3{
@@ -242,7 +243,7 @@
1)/2)
\fi:
/(#2)
- \scan_stop:
+ \int_eval_end:
}
\def_new:Npn \int_div_round:nn {
\int_pre_eval_two_args:Nnn\int_div_round_raw:nn