[SciPy-Dev] arccosh/arctanh test precision

Pauli Virtanen pav@iki...
Fri Jul 9 03:06:58 CDT 2010


Thu, 08 Jul 2010 20:17:20 +0800, Ralf Gommers wrote:
> The arccosh test precision is set a bit too high for real input - it's
> kept at the default level which is 5*eps. Setting it to 5e-14 solves the
> issue on 32-bit Windows, which is OK I think. On 64-bit Windows the
> results are further off (see below) which could be considered an actual
> problem. The arctanh result also looks bad. So I propose to change the
> 32-bit test precision only. For the curious, it's line 34 of
> special/tests/test_data.py.
> 
> Is the above fine? Should I open a ticket for 64-bit?

I think bumping the test precisions is OK, at least as long as the 
relative error is below 1e-11.

-- 
Pauli Virtanen



More information about the SciPy-Dev mailing list