You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add public API regressions for cJSON_AddNumberWithPrecisionToObject formatting through cJSON_PrintUnformatted. The new cases assert fixed-width decimal output with preserved trailing zeroes, printf-style rounding, negative number formatting, and the accepted max precision boundary.
Also cover invalid precision bounds by checking that 0 and 15 are rejected and leave the destination object empty.
Tested:\n- make -C build\n- make -C build test
0 commit comments