From: Paul Eggert Date: Mon, 20 Dec 2010 07:05:24 +0000 (-0800) Subject: ftoastr: fix comment X-Git-Tag: v0.1~3526 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=c1517681700601792afc127715e93c2ce1ed3163;p=gnulib.git ftoastr: fix comment * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in . --- diff --git a/ChangeLog b/ChangeLog index 308b4509d..9796a9bee 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 fd7a802db..edae494dd 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. */