This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make printf respect the rounding mode for decimal output (bug5044)


On 09/13/2012 06:17 PM, Joseph S. Myers wrote:
> 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).

Looks good.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]