ftoastr: fix comment
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2010 07:05:24 +0000 (23:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2010 07:06:03 +0000 (23:06 -0800)
* lib/ftoastr.h: Fix typo in comment.  Noted by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00130.html>.

ChangeLog
lib/ftoastr.h

index 308b450..9796a9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       ftoastr: fix comment
+       * lib/ftoastr.h: Fix typo in comment.  Noted by Ben Pfaff in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00130.html>.
+
 2010-12-19  Bruno Haible  <bruno@clisp.org>
 
        isnan: Ensure it is a macro.
index fd7a802..edae494 100644 (file)
@@ -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.  */