projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: log cherry-pick [e7754b0]->[52062c8] acl: Fix test failure on AIX 7.
[gnulib.git]
/
lib
/
ftoastr.h
diff --git
a/lib/ftoastr.h
b/lib/ftoastr.h
index
fd7a802
..
6264952
100644
(file)
--- a/
lib/ftoastr.h
+++ b/
lib/ftoastr.h
@@
-1,6
+1,6
@@
/* floating point to accurate string
/* floating point to accurate string
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010
-2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-39,8
+39,8
@@
Example:
Example:
- char buf[DBL_
A
BUFSIZE_BOUND];
- int r = dtoastr (buf, sizeof buf,
"%*.*g"
, 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. */
In the C locale, this sets R to 3 and stores "0.1" into BUF. */