From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3777 invoked by alias); 28 Apr 2005 17:50:10 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 3667 invoked by uid 48); 28 Apr 2005 17:49:59 -0000 Date: Thu, 28 Apr 2005 17:50:00 -0000 From: "uttamp at us dot ibm dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20050428174956.887.uttamp@us.ibm.com> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug math/887] New: Math library function "logb" and "nextafter" inconsistent X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg00174.txt.bz2 List-Id: Math library function logb give different result for some input values when rounding mode "towards -ve infinity" is set and not set. Values for which I got miscompare are "0X3FF0000000000000", "0X3FF8000000000000", "0X3FF2000000000000", "0X3FFFFFFFFFFFFFFF", "0X3FF7FFFFFFFFFFFF" and "0X3FF1FFFFFFFFFFFF". Values obtained when rounding mode "towards -ve infinity" for all above input values- "0x8000000000000000" Values obtained when no rounding mode is set for all above input values- "0x0000000000000000" Similar problem i have seen with function nextafter - when rounding mode is set it gives some value and when it is not set gives some value. -- Summary: Math library function "logb" and "nextafter" inconsistent Product: glibc Version: 2.3.3 Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: uttamp at us dot ibm dot com ReportedBy: uttamp at us dot ibm dot com CC: glibc-bugs at sources dot redhat dot com GCC build triplet: PowerPC (ppc64) GCC host triplet: PowerPC (ppc64) GCC target triplet: PowerPC (ppc64) http://sources.redhat.com/bugzilla/show_bug.cgi?id=887 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.