nanoprintf
nanoprintf copied to clipboard
Fix precision padding for float specifiers
Fixes the float formatting issue discovered by @josesimoes in #273. Example of failing code:
npf_snprintf(..., ..., "%.5g", (double)INFINITY);
Output: 00inf