diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx index 18253136f24..7d32164b5b9 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-convert.dtx @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018/03/05} +% \date{Released 2018-04-30} % % \maketitle % @@ -109,11 +109,11 @@ \cs_new:Npn \@@_trim_zeros:w #1 ; { \@@_trim_zeros_loop:w #1 - ; \@@_trim_zeros_loop:w 0; \@@_trim_zeros_dot:w .; \s__stop + ; \@@_trim_zeros_loop:w 0; \@@_trim_zeros_dot:w .; \s_stop } \cs_new:Npn \@@_trim_zeros_loop:w #1 0; #2 { #2 #1 ; #2 } \cs_new:Npn \@@_trim_zeros_dot:w #1 .; { \@@_trim_zeros_end:w #1 ; } -\cs_new:Npn \@@_trim_zeros_end:w #1 ; #2 \s__stop { #1 } +\cs_new:Npn \@@_trim_zeros_end:w #1 ; #2 \s_stop { #1 } % \end{macrocode} % \end{macro} % \end{macro} @@ -203,7 +203,7 @@ { \exp_after:wN \@@_to_scientific_normal:wNw \exp_after:wN e - \__int_value:w \__int_eval:w #2 - 1 + \int_value:w \@@_int_eval:w #2 - 1 ; #3 #4 #5 #6 ; } \cs_new:Npn \@@_to_scientific_normal:wNw #1 ; #2#3; @@ -265,7 +265,7 @@ % most likely won't be needed. Normal numbers with an exponent in the % range $[1,15]$ have that number of digits before the decimal % separator: \enquote{decimate} them, and remove leading zeros with -% \cs{__int_value:w}, then trim trailing zeros and dot. Normal +% \cs{int_value:w}, then trim trailing zeros and dot. Normal % numbers with an exponent $16$ or larger have no decimal separator, % we only need to add trailing zeros. When the exponent is % non-positive, the result should be $0.\meta{zeros}\meta{digits}$, @@ -321,7 +321,7 @@ } \cs_new:Npn \@@_to_decimal_large:Nnnw #1#2#3#4; { - \exp_after:wN \@@_trim_zeros:w \__int_value:w + \exp_after:wN \@@_trim_zeros:w \int_value:w \if_int_compare:w #2 > 0 \exp_stop_f: #2 \fi: @@ -397,7 +397,7 @@ { \exp_after:wN \@@_to_tl_scientific:wNw \exp_after:wN e - \__int_value:w \__int_eval:w #2 - 1 + \int_value:w \@@_int_eval:w #2 - 1 ; #3 #4 #5 #6 ; } \cs_new:Npn \@@_to_tl_scientific:wNw #1 ; #2#3; @@ -503,7 +503,7 @@ \exp_after:wN \@@_from_dim_test:ww \exp_after:wN 0 \exp_after:wN , - \__int_value:w \etex_glueexpr:D #1 ; + \int_value:w \etex_glueexpr:D #1 ; } \cs_new:Npn \@@_from_dim_test:ww #1, #2 { @@ -511,11 +511,11 @@ \@@_case_return:nw { \exp_after:wN \c_zero_fp } \else: \exp_after:wN \@@_from_dim:wNw - \__int_value:w \__int_eval:w #1 - 4 + \int_value:w \@@_int_eval:w #1 - 4 \if_meaning:w - #2 - \exp_after:wN , \exp_after:wN 2 \__int_value:w + \exp_after:wN , \exp_after:wN 2 \int_value:w \else: - \exp_after:wN , \exp_after:wN 0 \__int_value:w #2 + \exp_after:wN , \exp_after:wN 0 \int_value:w #2 \fi: \fi: } @@ -593,8 +593,8 @@ \@@_expand:n { { \use_ii:nn } - \@@_array_to_clist_loop:Nw #1 { ? \__prg_break: } ; - \__prg_break_point: + \@@_array_to_clist_loop:Nw #1 { ? \prg_break: } ; + \prg_break_point: } } } |