[Numpy-discussion] Branch cuts, inf, nan, C99 compliance
Pauli Virtanen
pav@iki...
Sun Jul 20 07:10:23 CDT 2008
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
More information about the Numpy-discussion
mailing list