From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ETNvj-0008GI-En for garchives@archives.gentoo.org; Sat, 22 Oct 2005 18:17:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9MIDN5k024961; Sat, 22 Oct 2005 18:13:23 GMT Received: from authusersmtp.mail.cornell.edu (granite1.mail.cornell.edu [128.253.83.141]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9MIDMS6013348 for ; Sat, 22 Oct 2005 18:13:22 GMT Received: from leibniz.ether (user-10mt4mi.cable.mindspring.com [65.110.146.210]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id j9MIGIS7016250 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Sat, 22 Oct 2005 14:16:19 -0400 (EDT) From: Darren Dale To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] question about signbit Date: Sat, 22 Oct 2005 14:16:02 -0400 User-Agent: KMail/1.8.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510221416.03348.dd55@cornell.edu> X-Archives-Salt: 84c8fd3f-46b3-47a1-b75c-2c215cdc5fec X-Archives-Hash: c6210c7afbbadf2026e49cf722ab62d0 Hello, A while back, SciPy was added to the portage tree. There will be a new version of SciPy soon, which will hopefully unify the Numeric/numarray split in the Python community. I am trying to track down the source of a bug in the SciPy development branch which, so far, has only been reported on a Gentoo platform (mine). It involves the use of the libc math function "signbit". Here is a clip from the manpage: `signbit' is a generic macro which can work on all real floating- point types. It returns a non-zero value if the value of X has its sign bit set. On my system, SciPy's signbit function reports that the sign bit is not set for any number, positive or negative. Could someone here help me understand how to test the libc signbit function? I have to admit I have no experience with C programming. Thanks, Darren -- gentoo-science@gentoo.org mailing list