[Bug libc/4858] printf alternate %#g format prints wrong number of digits

cvs-commit at gcc dot gnu dot org sourceware-bugzilla@sourceware.org
Tue Jul 31 12:44:00 GMT 2007


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2007-07-31 12:44 -------
Subject: Bug 4858

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_5-branch
Changes by:	jakub@sourceware.org	2007-07-31 12:44:28

Modified files:
	.              : ChangeLog 
	stdio-common   : printf_fp.c tfformat.c 

Log message:
	2007-07-31  Jakub Jelinek  <jakub@redhat.com>
	
	* stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
	
	2007-07-28  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #4858]
	* stdio-common/printf_fp.c (___printf_fp): Fix special case of
	#.0g and value rounded to 1.0.
	* stdio-common/tfformat.c (sprint_doubles): Add two new tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.10362.2.96&r2=1.10362.2.97
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/printf_fp.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.58.2.3&r2=1.58.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/tfformat.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.7.8.2&r2=1.7.8.3



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4858

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list