aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-09-24 15:38:21 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-09-24 15:38:21 +0000
commita9f8e53a5b14ba481999ded036b025554ea06362 (patch)
treea59b5925b071a62962c3d399bc8758a690f518bd /ChangeLog
parenteaf6f205fff7ca8a628869e3bc56800020a70f24 (diff)
downloadglibc-a9f8e53a5b14ba481999ded036b025554ea06362.zip
glibc-a9f8e53a5b14ba481999ded036b025554ea06362.tar.gz
glibc-a9f8e53a5b14ba481999ded036b025554ea06362.tar.bz2
Make printf respect the rounding mode for hex output (bug 5044).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a04e104..b8c492e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2012-09-24 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #5044]
+ * stdio-common/printf_fphex.c: Include <stdbool.h> and
+ <rounding-mode.h>.
+ (__printf_fphex): Determine rounding using get_rounding_mode and
+ round_away.
+ * stdio-common/tst-printf-round.c (struct hex_test): New
+ structure.
+ (hex_tests): New variable.
+ (test_hex_in_one_mode): New function.
+ (do_test): Also run tests for hex float output.
+
2012-09-21 Joseph Myers <joseph@codesourcery.com>
* libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.