[Numpy-discussion] OS X PPC problem with Numpy 1.3.0b1

Pauli Virtanen pav at iki.fi
Mon Mar 23 15:55:17 EDT 2009


Mon, 23 Mar 2009 13:22:29 -0600, Charles R Harris wrote:
[clip]
> PPC stores long doubles as two doubles. I don't recall exactly how the
> two are used, but the result is that the numbers aren't in the form you
> would expect. Long doubles on the PPC have always been iffy, so it is no
> surprise that machar fails. The failure on SPARC quad precision bothers
> me more.

The test fails on SPARC, since we need one term more in the Horner series 
to reach quad precision accuracy. I'll add that for long doubles.

> I think the easy thing to do for the 1.3 release is to fix the precision
> test to use a hardwired range of values, I don't think testing the
> extreme small values is necessary to check the power series expansion.
> But I have been leaving that fixup to Pauli.

I'll do just that. The test is overly strict.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list