From 8cee4896609b9fb549e083871a0900dd338038e7 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Tue, 22 Dec 2009 15:03:58 +0000 Subject: [PATCH] bugfix in com_meas() --- ChangeLog | 3 +++ src/frontend/measure.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 82c95d928..38721ea6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-12-22 Holger Vogt + * measure.c: bugfix (%f replaced by %e) + 2009-12-21 Holger Vogt * com_measure2.com, measure.c: add vectors to the meas command. inpcom.c: no parsing of ternary function in .control section (not diff --git a/src/frontend/measure.c b/src/frontend/measure.c index 2de6c10ca..e2c34c5ce 100644 --- a/src/frontend/measure.c +++ b/src/frontend/measure.c @@ -115,7 +115,7 @@ com_meas(wordlist *wl) { return; } - sprintf(newvec, "%s = %f\0", outvar, result); + sprintf(newvec, "%s = %e\0", outvar, result); wl_let = alloc(struct wordlist); wl_let->wl_next = NULL; wl_let->wl_word = copy(newvec);