managarm / frigg

Lightweight C++ utilities and algorithms for system programming
MIT License
56 stars 20 forks source link

printf: Handle binary format specifiers #72

Closed Qwinci closed 2 months ago

Qwinci commented 2 months ago

Support C23 binary specifiers in frg printf and also unify the code between x/X and use a ternary operator for the differences instead to reduce code duplication.