# HG changeset patch # User Daniele Nicolodi # Date 1393251473 -3600 # Node ID a5c70eae1e0bdf5f5eadee62680925ff5613bc8e # Parent 89e092681ba7b61d4e7ee663753421758872dc94 Change data logging to 16 digits precision diff -r 89e092681ba7 -r a5c70eae1e0b FXAnalyse.c --- a/FXAnalyse.c Mon Feb 24 13:17:08 2014 +0100 +++ b/FXAnalyse.c Mon Feb 24 15:17:53 2014 +0100 @@ -319,7 +319,7 @@ // data channels for (i = 0; i < nchan; i++) - len += snprintf(line + len, sizeof(line) - len, "\t%.3f", v[i]); + len += snprintf(line + len, sizeof(line) - len, "\t%.16e", v[i]); // newline line[len++] = '\r';