Skip to content

Commit c5c9d4e

Browse files
authored
Restore json-c precision mod (#3401)
1 parent 5b4122d commit c5c9d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/json-c/json_object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ static int json_object_double_to_json_string_format(struct json_object *jso, str
10371037
}
10381038
else
10391039
{
1040-
const char *std_format = "%.17g";
1040+
const char *std_format = "%.16g";
10411041
int format_drops_decimals = 0;
10421042
int looks_numeric = 0;
10431043

0 commit comments

Comments
 (0)