Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Ted Horst
On Oct 26, 2006, at 12:26, Travis Oliphant wrote: > Charles R Harris wrote: >> >> >> On 10/26/06, *Travis Oliphant* <[EMAIL PROTECTED] >> > wrote: >> >> Ted Horst wrote: >>> On Mac OS X tiger (10.4) ppc, long double has increased >> precision but >>> the same rang

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Travis Oliphant
Charles R Harris wrote: > > > On 10/26/06, *Travis Oliphant* <[EMAIL PROTECTED] > > wrote: > > Ted Horst wrote: > > On Mac OS X tiger (10.4) ppc, long double has increased > precision but > > the same range as double (it really is 128 bits not 80, btw), so

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Charles R Harris
On 10/26/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: Ted Horst wrote:> On Mac OS X tiger (10.4) ppc, long double has increased precision but> the same range as double (it really is 128 bits not 80, btw), so> e**1000 is inf, so this is not really an error. >>Thanks for the clarification.   Long-d

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Travis Oliphant
Ted Horst wrote: > On Mac OS X tiger (10.4) ppc, long double has increased precision but > the same range as double (it really is 128 bits not 80, btw), so > e**1000 is inf, so this is not really an error. > > Thanks for the clarification. Long-double is not standard across platforms wit

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Charles R Harris
On 10/26/06, Ted Horst <[EMAIL PROTECTED]> wrote: On Mac OS X tiger (10.4) ppc, long double has increased precision butthe same range as double (it really is 128 bits not 80, btw), Looks like you are right: http://www.freestandards.org/spec/ELF/ppc64/PPC-elf64abi-1.9.html#PRECActually two doubles

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-26 Thread Ted Horst
On Mac OS X tiger (10.4) ppc, long double has increased precision but the same range as double (it really is 128 bits not 80, btw), so e**1000 is inf, so this is not really an error. I'm not sure what is the right thing to do in the test, check for overflow? Also, finfo has never worked pro

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-24 Thread Mark Hymers
On Tue, 24, Oct, 2006 at 10:31:30AM -0600, Travis Oliphant spoke thus.. > The basic problem is that the longfloat type is not very > cross-platform. The functionality depends on your C-compiler / > platform when a long double is specified as the type. I suspect it > doesn't work well with al

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-24 Thread Mark Hymers
On Tue, 24, Oct, 2006 at 10:31:30AM -0600, Travis Oliphant spoke thus.. > The basic problem is that the longfloat type is not very > cross-platform. The functionality depends on your C-compiler / > platform when a long double is specified as the type. I suspect it > doesn't work well with al

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-24 Thread Travis Oliphant
Mark Hymers wrote: > On Thu, 19, Oct, 2006 at 08:29:26AM -0600, Travis Oliphant spoke thus.. > >> Actually, you shouldn't be getting an INF at all.This is what the >> test is designed to test for (so I guess it's working). The test was >> actually written wrong and was never failing becau

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-24 Thread Charles R Harris
On 10/24/06, Mark Hymers <[EMAIL PROTECTED]> wrote: On Mon, 23, Oct, 2006 at 11:50:27AM +0100, Mark Hymers spoke thus..> Hi,>> I've just done a Mac OS X PPC build of the SVN trunk and am getting this> failure too.> FAIL: Ticket #112 I've just been looking into this a bit further (though I may be he

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-24 Thread Mark Hymers
On Mon, 23, Oct, 2006 at 11:50:27AM +0100, Mark Hymers spoke thus.. > Hi, > > I've just done a Mac OS X PPC build of the SVN trunk and am getting this > failure too. > FAIL: Ticket #112 I've just been looking into this a bit further (though I may be heading down the wrong road) and come across

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-23 Thread Mark Hymers
On Thu, 19, Oct, 2006 at 08:29:26AM -0600, Travis Oliphant spoke thus.. > Actually, you shouldn't be getting an INF at all.This is what the > test is designed to test for (so I guess it's working). The test was > actually written wrong and was never failing because previously keyword > argu

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Tim Hochberg
[CHOP] OK, I've checked in changes to suppress all the warnings in the test suite. I tried to be as targeted as possible so that any regressions from the current state in terms of warnings should show up. I suspect that there may be some issues with regards to masked arrays issuing spurious w

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Tim Hochberg
Travis Oliphant wrote: > Tim Hochberg wrote: > > >> Travis Oliphant wrote: >> >> >> >>> Tim Hochberg wrote: >>> >>> >>> >>> Rudolph van der Merwe wrote: > I get the following error with RC3 on a RHE Linux box: > >

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Travis Oliphant
Tim Hochberg wrote: >Travis Oliphant wrote: > > >>Tim Hochberg wrote: >> >> >> >>>Rudolph van der Merwe wrote: >>> >>> >>> >>> I get the following error with RC3 on a RHE Linux box: Python 2.4.3 (#4, Mar 31 2006, 12:12:43) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Tim Hochberg
Travis Oliphant wrote: > Tim Hochberg wrote: > >> Rudolph van der Merwe wrote: >> >> >>> I get the following error with RC3 on a RHE Linux box: >>> >>> Python 2.4.3 (#4, Mar 31 2006, 12:12:43) >>> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 >>> Type "help", "copyright", "credits" or

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Tim Hochberg
Travis Oliphant wrote: > Tim Hochberg wrote: > >> Rudolph van der Merwe wrote: >> >> >>> I get the following error with RC3 on a RHE Linux box: >>> >>> Python 2.4.3 (#4, Mar 31 2006, 12:12:43) >>> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 >>> Type "help", "copyright", "credits" or

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Travis Oliphant
Tim Hochberg wrote: > Rudolph van der Merwe wrote: > >> I get the following error with RC3 on a RHE Linux box: >> >> Python 2.4.3 (#4, Mar 31 2006, 12:12:43) >> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>

Re: [Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Tim Hochberg
Rudolph van der Merwe wrote: > I get the following error with RC3 on a RHE Linux box: > > Python 2.4.3 (#4, Mar 31 2006, 12:12:43) > [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > import numpy numpy.__version_

[Numpy-discussion] Unit test error with numpy rc3

2006-10-19 Thread Rudolph van der Merwe
I get the following error with RC3 on a RHE Linux box: Python 2.4.3 (#4, Mar 31 2006, 12:12:43) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.__version__ '1.0rc3' >>> numpy.test() Found 5 tests f