4 ms·
One minor thing that should hopefully be considered... a %b/%B conversion for printf et al. It's useful to print binary representations of things (debugging, c
by uxcn 11y ago
One minor thing that should hopefully be considered... a %b/%B conversion for printf et al.
It's useful to print binary representations of things (debugging, conversion, etc...). A number of libc implementations support it as an extension. Forcing people to re-implement it outside of printf is a bit obnoxious considering how simple it is, and that there are already hexadecimal and octal conversions.
- _kst_ 11y agoAnd "0b11001001" constants.