From 470678475288a244fd8a9af69f9abc9b46b2860f Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 22 Feb 2023 03:01:37 +0000
Subject: CTAN sync 202302220301

---
 macros/latex/contrib/siunitx/siunitx-number.dtx | 34 ++-----------------------
 1 file changed, 2 insertions(+), 32 deletions(-)

(limited to 'macros/latex/contrib/siunitx/siunitx-number.dtx')

diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx
index 007d0b0825..f4d44ea5cc 100644
--- a/macros/latex/contrib/siunitx/siunitx-number.dtx
+++ b/macros/latex/contrib/siunitx/siunitx-number.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-number.dtx Copyright (C) 2014-2019,2021,2022 Joseph Wright
+% File: siunitx-number.dtx Copyright (C) 2014-2019,2021-2023 Joseph Wright
 %
 % It may be distributed and/or modified under the conditions of the
 % LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -3162,9 +3162,6 @@
 % \begin{macro}[EXP]{\@@_round_uncertainty:nnnnnnn}
 % \begin{macro}[EXP]{\@@_round_uncertainty_end:nn}
 % \begin{macro}[EXP]{\@@_round_uncertainty:nnn}
-% \begin{macro}[EXP]{\@@_round_uncertainty_check:nnnw}
-% \begin{macro}[EXP]{\@@_round_uncertainty_check:Nnnnw}
-% \begin{macro}[EXP]{\@@_round_uncertainty_aux:nnn}
 % \begin{macro}[EXP]{\@@_round_uncertainty:nnnn}
 % \begin{macro}[EXP]{\@@_round_uncertainty:nnnnnn}
 % \begin{macro}[EXP]
@@ -3213,35 +3210,11 @@
 \cs_new:Npn \@@_round_uncertainty_end:nn #1#2
   { \exp_not:n { {#1} {#2} } }
 %    \end{macrocode}
-%   Before doing any rounding, we need to be sure that the main value has
-%   enough significant digits. If not, the result is zero.
-%    \begin{macrocode}
-\cs_new:Npn \@@_round_uncertainty:nnn #1#2#3
-  {
-     \@@_round_uncertainty_check:nnnw {#1} {#2} {#3}
-       #1#2 \q_recursion_tail \q_recursion_stop
-  }
-\cs_new:Npn \@@_round_uncertainty_check:nnnw #1#2#3#4
-  {
-    \quark_if_recursion_tail_stop_do:Nn #4 { { 0 } { } { } }
-    \int_compare:nNnTF {#4} = 0
-      { \@@_round_uncertainty_check:nnnw }
-      { \@@_round_uncertainty_check:Nnnnw #4 }
-        {#1} {#2} {#3}
-  }
-\cs_new:Npn \@@_round_uncertainty_check:Nnnnw #1#2#3#4#5
-  \q_recursion_tail \q_recursion_stop
-  {
-    \int_compare:nNnTF { \tl_count:n {#1#5} } < { \tl_count:n {#4} }
-      { { 0 } { } { } }
-      { \@@_round_uncertainty_aux:nnn {#2} {#3} {#4} }
-  }
-%    \end{macrocode}
 %   Round the uncertainty first: this is needed to get the number of places
 %   correct. Once that is done, it's just a question of working out the digits
 %   in the main part.
 %    \begin{macrocode}
-\cs_new:Npn \@@_round_uncertainty_aux:nnn #1#2#3
+\cs_new:Npn \@@_round_uncertainty:nnn #1#2#3
   {
     \exp_args:Nf \@@_round_uncertainty:nnnn
       {
@@ -3440,9 +3413,6 @@
 % \end{macro}
 % \end{macro}
 % \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
 %
 % \begin{macro}{\@@_zero_decimal:NN}
 % \begin{macro}[EXP]{\@@_zero_decimal:nnnnnnn}
-- 
cgit v1.2.3

