Skip to content

Commit 4e56ba8

Browse files
committed
1 parent d2e203a commit 4e56ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ zval_get_string(zval *op)
348348
}
349349
case IS_DOUBLE: {
350350
zstr->gc = 0x10;
351-
zstr->len = spprintf(&zstr->val, 0, "%g", Z_DVAL_P(op));
351+
zstr->len = spprintf(&zstr->val, 0, "%.16g", Z_DVAL_P(op));
352352
break;
353353
}
354354
EMPTY_SWITCH_DEFAULT_CASE()

0 commit comments

Comments
 (0)