[Numpy-discussion] Branch cuts, inf, nan, C99 compliance

Nils Wagner nwagner@iam.uni-stuttgart...
Sun Jul 20 07:22:16 CDT 2008


On Sun, 20 Jul 2008 12:10:23 +0000 (UTC)
  Pauli Virtanen <pav@iki.fi> wrote:
> Hi,
> 
> Sorry,
> 
> Sun, 20 Jul 2008 10:18:47 +0200, Nils Wagner wrote:
> 
>> ERROR: test_umath.TestC99.test_catanh(<ufunc 'arctanh'>, 
>>(nan, nan),
>> (nan, nan), '')
>> FloatingPointError: invalid value encountered in arctanh
> 
> Skipped now.
> 
>> ERROR: test_umath.TestC99.test_clog(<ufunc 'log'>, (1.0, 
>>nan), (nan,
>> nan), '')
>> FloatingPointError: invalid value encountered in log
> 
> Bug in tests, fixed.
> 
>> ERROR: test_umath.TestC99.test_clog(<ufunc 'log'>, (nan, 
>>0.0), (nan,
>> nan), '')
>> FloatingPointError: invalid value encountered in log
> 
> Bug in tests, fixed.
> 
>> ERROR: test_umath.TestC99.test_clog(<ufunc 'log'>, (nan, 
>>1.0), (nan,
>> nan), '')
>> FloatingPointError: invalid value encountered in log
> 
> Bug in tests, fixed.
> 
>> ERROR: test_umath.TestC99.test_clog(<ufunc 'log'>, (nan, 
>>nan), (nan,
>> nan), '')
>> FloatingPointError: invalid value encountered in log
> 
> Skipped.
> 
> 
> Sun, 20 Jul 2008 03:42:45 -0500, Robert Kern wrote:
>> FAIL: test_umath.TestC99.test_clog(<ufunc 'log'>, (-0.0, 
>>-0.0), (-inf,
> -0.0), 'divide')
> 
> Interesting, there's no test like this in there, only 
>one with positive
> zeros. Where does this one come from?
> 
>> FAIL: test_umath.TestC99.test_csqrt(<ufunc 'sqrt'>, 
>>(-inf, 1.0),
> (-0.0, inf), '')
> 
>Fails on your platform, skipped.
> 
> -- 
> Pauli Virtanen
> 
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

Ran 2069 tests in 30.300s

OK (SKIP=44)
<nose.result.TextTestResult run=2069 errors=0 failures=0>

Thank you.

Cheers,
            Nils
  


More information about the Numpy-discussion mailing list