Author: Armin Rigo <[email protected]>
Branch: reverse-debugger
Changeset: r86980:d7724c0a5700
Date: 2016-09-10 09:35 +0200
http://bitbucket.org/pypy/pypy/changeset/d7724c0a5700/
Log: Print full precision doubles
diff --git a/rpython/translator/revdb/src-revdb/revdb.c
b/rpython/translator/revdb/src-revdb/revdb.c
--- a/rpython/translator/revdb/src-revdb/revdb.c
+++ b/rpython/translator/revdb/src-revdb/revdb.c
@@ -1768,7 +1768,7 @@
char buffer[128], *p;
RPyString *result;
int size;
- size = snprintf(buffer, sizeof(buffer) - 3, "%g", d);
+ size = snprintf(buffer, sizeof(buffer) - 3, "%.17g", d);
if (size < 0)
size = 0;
for (p = buffer; '0' <= *p && *p <= '9'; p++) {
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit