From 3ecc00c27119bc47ba26b518b7d26c00b69599df Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 18 Jun 2021 03:01:13 +0000
Subject: CTAN sync 202106180301

---
 macros/latex/contrib/siunitx/siunitx-number.dtx | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 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 2dfa66374c..737b503b37 100644
--- a/macros/latex/contrib/siunitx/siunitx-number.dtx
+++ b/macros/latex/contrib/siunitx/siunitx-number.dtx
@@ -3165,9 +3165,16 @@
 %    \begin{macrocode}
 \cs_new:Npn \@@_output_integer:nnn #1#2#3
   {
-    \bool_lazy_or:nnT
-      { \l_@@_unity_mantissa_bool }
-      { ! \str_if_eq_p:nn { #1 . #2 } { 1. } }
+    \bool_lazy_any:nT
+      {
+        { \l_@@_unity_mantissa_bool }
+        { ! \str_if_eq_p:nn { #1 . #2 } { 1. } }
+        {
+          \bool_lazy_and_p:nn
+            { \str_if_eq_p:nn {#3} { 0 } }
+            { ! \l_@@_zero_exponent_bool }
+        }
+      }
       { \@@_output_digits:nn { integer } {#1} }
   }
 \cs_new:Npn \@@_output_decimal:nn #1#2
-- 
cgit v1.2.3

