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);