diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-04-16 23:28:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-04-16 23:28:39 +0000 |
commit | d40e67f54ca528c1435419c3bf1868ba288308df (patch) | |
tree | 8f6b7253289bc8ed3ec7b2751794869e904ff50a /stdio-common/tfformat.c | |
parent | 0fca3153e7dee01073bcb0c382fb3f6a6c487ef3 (diff) | |
download | glibc-d40e67f54ca528c1435419c3bf1868ba288308df.tar.gz glibc-d40e67f54ca528c1435419c3bf1868ba288308df.tar.xz glibc-d40e67f54ca528c1435419c3bf1868ba288308df.zip |
* stdio-common/printf_fp.c (___printf_fp): Fix exponent -4
special case handling when wcp == wstartp + 1. Fix a comment typo. * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
Diffstat (limited to 'stdio-common/tfformat.c')
-rw-r--r-- | stdio-common/tfformat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/tfformat.c b/stdio-common/tfformat.c index 0370834e9f..259e2e0b18 100644 --- a/stdio-common/tfformat.c +++ b/stdio-common/tfformat.c @@ -4020,6 +4020,7 @@ sprint_double_type sprint_doubles[] = {__LINE__, 0.000956, "0.001", "%#.0g"}, {__LINE__, 0.000098, "0.0001", "%#.0g"}, {__LINE__, 0.0000996, "0.00010", "%#.2g"}, + {__LINE__, 9.999999999999999e-05, "0.0001", "%g"}, {0 } |