From c1517681700601792afc127715e93c2ce1ed3163 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 19 Dec 2010 23:05:24 -0800 Subject: [PATCH] ftoastr: fix comment * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in . --- ChangeLog | 6 ++++++ lib/ftoastr.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 308b4509de..9796a9bee2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-19 Paul Eggert + + ftoastr: fix comment + * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in + . + 2010-12-19 Bruno Haible isnan: Ensure it is a macro. diff --git a/lib/ftoastr.h b/lib/ftoastr.h index fd7a802dbe..edae494dda 100644 --- a/lib/ftoastr.h +++ b/lib/ftoastr.h @@ -40,7 +40,7 @@ Example: char buf[DBL_ABUFSIZE_BOUND]; - int r = dtoastr (buf, sizeof buf, "%*.*g", 0, 0.1); + int r = dtoastr (buf, sizeof buf, FTOASTR_UPPER_E, 0, 0.1); In the C locale, this sets R to 3 and stores "0.1" into BUF. */ -- 2.30.2