From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26923 invoked by alias); 30 Jul 2008 11:15:39 -0000 Received: (qmail 26571 invoked by uid 48); 30 Jul 2008 11:14:27 -0000 Date: Wed, 30 Jul 2008 11:15:00 -0000 From: "mtk dot manpages at gmail dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20080730111427.6779.mtk.manpages@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug math/6779] New: remainder() wrongly gives a domain error for (NaN, 0) 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: 2008-07/txt/msg00132.txt.bz2 The posix reaminder() spec says: == If x or y is NaN, a NaN shall be returned. If x is infinite or y is 0 and the other is non-NaN, a domain error shall occur, and either a NaN (if supported), or an implementation-defined value shall be returned == On glibc 2.8, remainder(NaN, 0) gives a domain error (EDOM, FE_INVALID). As per the above spec, it should return a NaN without error. -- Summary: remainder() wrongly gives a domain error for (NaN, 0) Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: aj at suse dot de ReportedBy: mtk dot manpages at gmail dot com CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6779 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.