From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12068 invoked by alias); 31 Jul 2008 10:20:28 -0000 Received: (qmail 11599 invoked by uid 48); 31 Jul 2008 10:19:16 -0000 Date: Thu, 31 Jul 2008 10:20:00 -0000 Message-ID: <20080731101916.11598.qmail@sourceware.org> From: "mtk dot manpages at gmail dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20080731101650.6798.mtk.manpages@gmail.com> References: <20080731101650.6798.mtk.manpages@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug math/6798] lrint() and llrint() do not set errno on domain error 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/msg00178.txt.bz2 ------- Additional Comments From mtk dot manpages at gmail dot com 2008-07-31 10:19 ------- Created an attachment (id=2862) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2862&action=view) test program Sample runs showing problem: $ /tmp/mt_lrint inf errno == 0 fetestexcept() says: FE_INVALID lrint(inf)=-2147483648 0 FE_INVALID normal $ /tmp/mt_llrint inf errno == 0 fetestexcept() says: FE_INVALID llrint(inf)=-9223372036854775808 0 FE_INVALID normal $ /tmp/mt_lrint nan errno == 0 fetestexcept() says: FE_INVALID lrint(nan)=-2147483648 0 FE_INVALID normal $ /tmp/mt_llrint nan errno == 0 fetestexcept() says: FE_INVALID llrint(nan)=-9223372036854775808 0 FE_INVALID normal -- http://sourceware.org/bugzilla/show_bug.cgi?id=6798 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.