Skip to content

Commit

Permalink
Fix #1156
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Apr 20, 2017
1 parent d2e203a commit 4e56ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ zval_get_string(zval *op)
}
case IS_DOUBLE: {
zstr->gc = 0x10;
zstr->len = spprintf(&zstr->val, 0, "%g", Z_DVAL_P(op));
zstr->len = spprintf(&zstr->val, 0, "%.16g", Z_DVAL_P(op));
break;
}
EMPTY_SWITCH_DEFAULT_CASE()
Expand Down

0 comments on commit 4e56ba8

Please sign in to comment.