public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] question about signbit
@ 2005-10-22 18:16 Darren Dale
  2005-10-22 21:05 ` Marco Matthies
  2005-10-23  6:39 ` Ertugrul Soeylemez
  0 siblings, 2 replies; 10+ messages in thread
From: Darren Dale @ 2005-10-22 18:16 UTC (permalink / raw
  To: gentoo-science

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-10-28 16:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-22 18:16 [gentoo-science] question about signbit Darren Dale
2005-10-22 21:05 ` Marco Matthies
2005-10-22 21:32   ` Darren Dale
2005-10-22 21:39   ` Marco Matthies
2005-10-27 12:52   ` Darren Dale
2005-10-27 14:24     ` Miguel Barao
2005-10-28  0:27       ` Ertugrul Soeylemez
2005-10-28 15:40     ` Marco Matthies
2005-10-28 16:00       ` Darren Dale
2005-10-23  6:39 ` Ertugrul Soeylemez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox