diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-09-24 15:38:21 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-09-24 15:38:21 +0000 |
commit | a9f8e53a5b14ba481999ded036b025554ea06362 (patch) | |
tree | a59b5925b071a62962c3d399bc8758a690f518bd /ChangeLog | |
parent | eaf6f205fff7ca8a628869e3bc56800020a70f24 (diff) | |
download | glibc-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-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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. |