From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10279 invoked by alias); 15 Mar 2007 13:49:13 -0000 Received: (qmail 10238 invoked by uid 48); 15 Mar 2007 13:49:02 -0000 Date: Thu, 15 Mar 2007 13:49:00 -0000 Message-ID: <20070315134902.10237.qmail@sourceware.org> From: "jakub at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20070125125821.3919.kreckel@ginac.de> References: <20070125125821.3919.kreckel@ginac.de> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug math/3919] Quiet NaNs not propagated quietly by some math functions X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00047.txt.bz2 ------- Additional Comments From jakub at redhat dot com 2007-03-15 13:49 ------- acosh{,f,l} certainly don't raise that: #define _GNU_SOURCE #include #include #include volatile double n = NAN; volatile double d; volatile float f; volatile long double ld; volatile int i; int main (void) { feclearexcept (FE_ALL_EXCEPT); d = acosh (n); f = acoshf (n); ld = acoshl (n); printf ("%x\n", fetestexcept (FE_INVALID)); i = ilogb (n); i = ilogbf (n); i = ilogbl (n); printf ("%x\n", fetestexcept (FE_INVALID)); d = log (n); f = logf (n); ld = logl (n); printf ("%x\n", fetestexcept (FE_INVALID)); return 0; } prints 0, 1, 1 with both -m32 -fno-builtin and -m64 -fno-builtin on x86_64 with current CVS glibc. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=3919 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.