nanoprintf icon indicating copy to clipboard operation
nanoprintf copied to clipboard

Fix precision padding for float specifiers

Open Okarss opened this issue 5 months ago • 2 comments

Fixes the float formatting issue discovered by @josesimoes in #273. Example of failing code:

npf_snprintf(..., ..., "%.5g", (double)INFINITY);

Output: 00inf

Okarss avatar Aug 31 '24 10:08 Okarss