Closed 64 closed 3 years ago
This PR fixes a number of issues:
'+'
' '
'#'
'o'
'X'
'x'
"0x"
"0X"
The relevant tests are added in managarm/mlibc#248.
This PR fixes a number of issues:
'+'
and' '
flags when printing signed integers. This fixes managarm/mlibc#229.'#'
is used with'o'
, only print a leading zero if the number is non-zero.'X'
is used, use uppercase letters for hexadecimal digits.'#'
is used with'x'
or'X'
, prepend"0x"
or"0X"
respectively.The relevant tests are added in managarm/mlibc#248.