[latex3-commits] [latex3/latex3] main: Use public int functions in dim changes (c482bd037)
github at latex-project.org
github at latex-project.org
Mon May 22 09:02:37 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/c482bd037e4bce378c84d40ba1f27562c7b32c9c
>---------------------------------------------------------------
commit c482bd037e4bce378c84d40ba1f27562c7b32c9c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon May 22 08:02:37 2023 +0100
Use public int functions in dim changes
>---------------------------------------------------------------
c482bd037e4bce378c84d40ba1f27562c7b32c9c
l3kernel/l3skip.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index 77f5d2155..ea82214b6 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -1975,12 +1975,12 @@
\token_if_eq_charcode:NNTF #1 -
{
\exp_after:wN \@@_get_remainder:w
- \int_use:N \__int_eval:w ( 2 * #2 - #3 ) / ( 2 * #3 ) ;
+ \int_eval:w ( 2 * #2 - #3 ) / ( 2 * #3 ) ;
#2 ; #3 ; - ;
}
{
\exp_after:wN \@@_get_remainder:w
- \int_use:N \__int_eval:w ( 2 * #1#2 - #3 ) / ( 2 * #3 ) ;
+ \int_eval:w ( 2 * #1#2 - #3 ) / ( 2 * #3 ) ;
#1#2 ; #3 ; ;
}
}
@@ -1996,7 +1996,7 @@
\cs_new:Npn \@@_get_remainder:w #1;#2;#3;
{
\exp_after:wN \@@_convert_remainder:w
- \int_use:N \__int_eval:w #2 - #1 * #3 ;
+ \int_eval:w #2 - #1 * #3 ;
#3 ; #1 ;
}
% \end{macrocode}
@@ -2009,7 +2009,7 @@
\cs_new:Npn \@@_convert_remainder:w #1;#2;
{
\exp_after:wN \@@_test_candidate:w
- \int_use:N \__int_eval:w #1 * 65536 / #2 ;
+ \int_eval:w #1 * 65536 / #2 ;
#1 ; #2 ;
}
% \end{macrocode}
More information about the latex3-commits
mailing list.