From d11de3302086268ee41416ec650fd90536ac5cf6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 20 Dec 2010 23:48:19 -0800 Subject: [PATCH] ftoastr: fix comment again * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in . Also, simplify example a bit by using flags = 0. --- ChangeLog | 7 +++++++ lib/ftoastr.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55e680e0c..58c278232 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-12-20 Paul Eggert + + ftoastr: fix comment again + * lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in + . + Also, simplify example a bit by using flags = 0. + 2010-12-20 Bruno Haible round*, trunc*: Update documentation regarding glibc. diff --git a/lib/ftoastr.h b/lib/ftoastr.h index edae494dd..c16a884f2 100644 --- a/lib/ftoastr.h +++ b/lib/ftoastr.h @@ -39,8 +39,8 @@ Example: - char buf[DBL_ABUFSIZE_BOUND]; - int r = dtoastr (buf, sizeof buf, FTOASTR_UPPER_E, 0, 0.1); + char buf[DBL_BUFSIZE_BOUND]; + int r = dtoastr (buf, sizeof buf, 0, 0, 0.1); In the C locale, this sets R to 3 and stores "0.1" into BUF. */ -- 2.11.0