This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib 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]

src/newlib ChangeLog libm/common/s_ilogb.c lib ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jjohnstn@sourceware.org	2010-02-11 21:00:33

Modified files:
	newlib         : ChangeLog 
	newlib/libm/common: s_ilogb.c sf_ilogb.c 

Log message:
	2010-02-11  Craig Howland <howland@LGSInnovations.com>
	
	* libm/common/s_ilogb.c:  Adjust documentation to reflect new returns
	(see next items) and that ilogb() and ilogbf() are C99/POSIX.
	* libm/common/s_ilogb.c (ilogb):  Use C99/POSIX FP_ILOGB0 and
	FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
	the prior -INT_MAX and INT_MAX.  The FP_ILOGBx defines in math.h
	presently match the prior hard-codes, so no functional change is
	actually introduced.  (Not at this time, nor planned, but the values
	are permitted to be different, so subsequent edits of math.h could
	possibly cause a functional change.)
	* libm/common/sf_ilogb.c (ilogbf):  Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1474&r2=1.1475
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libm/common/s_ilogb.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libm/common/sf_ilogb.c.diff?cvsroot=src&r1=1.2&r2=1.3


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