diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-09-14 20:18:49 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-09-14 20:18:49 +0000 |
commit | 784761bee3828e4e21cbe15340c7a99e3fd1788b (patch) | |
tree | ed600795b4bcfd6558aa48850ee1f2f7b2e0a715 /ChangeLog | |
parent | 01e80428f7df1a91de2f16ee632e81bc41a17d40 (diff) | |
download | glibc-784761bee3828e4e21cbe15340c7a99e3fd1788b.tar glibc-784761bee3828e4e21cbe15340c7a99e3fd1788b.tar.gz glibc-784761bee3828e4e21cbe15340c7a99e3fd1788b.tar.bz2 glibc-784761bee3828e4e21cbe15340c7a99e3fd1788b.zip |
Make printf respect the rounding mode for decimal output (bug 5044).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2012-09-14 Joseph Myers <joseph@codesourcery.com> + + [BZ #5044] + * stdio-common/printf_fp.c: Include <stdbool.h> and + <rounding-mode.h>. + (___printf_fp): Determine rounding using get_rounding_mode and + round_away. + * stdio-common/tst-printf-round.c: New file. + * stdio-common/Makefile (tests): Add tst-printf-round. + (link-libm): New variable. + ($(objpfx)tst-printf-round): Depend in $(link-libm). + 2012-09-13 H.J. Lu <hongjiu.lu@intel.com> [BZ #14576] |