diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx index b14d3e1058f..b485a0616c3 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-round.dtx @@ -89,7 +89,7 @@ % \subsection{Rounding tools} % % Floating point operations often yield a result that cannot be exactly -% represented in a mantissa with $16$ digits. In that case, we need to +% represented in a significand with $16$ digits. In that case, we need to % round the exact result to a representable number. The \textsc{ieee} % standard defines four rounding modes: % \begin{itemize} @@ -329,7 +329,10 @@ \cs_new:Npn \@@_round:Nww #1#2 ; #3 ; { \@@_small_int:wTF #3; { \@@_round:Nwn #1#2; } - { \@@_array_invalid_operation_o:nw { round } #2; #3; @ } + { + \@@_invalid_operation_tl_o:nf + { round } { \@@_array_to_clist:n { #2; #3; } } + } } \cs_new:Npn \@@_round:Nwn #1 \s_@@ \@@_chk:w #2#3#4; #5 { |