changeset 187:a5c70eae1e0b

Change data logging to 16 digits precision
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 24 Feb 2014 15:17:53 +0100
parents 89e092681ba7
children 6e64ac00303e
files FXAnalyse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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';