zero-pad sized integrals smaller than 32 bits

This commit is contained in:
Zachary Snow 2020-07-23 22:46:19 -06:00
parent f0a5a47371
commit 39519dd439
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ showBasedDigits base size values kinds =
padList '0' sizeDigits digits
else if leadingXZ && size < 0 then
removeExtraPadding digits
else if leadingXZ then
else if leadingXZ || (32 > size && size > 0) then
padList '0' sizeDigits digits
else
digits