This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/14173] ynl() returns wrong value for LDBL_MIN
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 28 May 2012 14:49:06 +0000
- Subject: [Bug math/14173] ynl() returns wrong value for LDBL_MIN
- Auto-submitted: auto-generated
- References: <bug-14173-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14173
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> 2012-05-28 14:49:06 UTC ---
The proposed patch may "work", but I think its wrong. If se is a signed type,
then it's never equal to 0xffffffff; only reliance on confusing promotion rules
makes it work, and it would not work with different type sizes. It should be
compared against -1, or (better) the types should be fixed to be unsigned.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.