[Numpy-discussion] float128 / longdouble on PPC - is it broken?
Wed Oct 26 10:52:32 CDT 2011
On Wed, Oct 26, 2011 at 1:07 AM, Nathaniel Smith <email@example.com> wrote:
> On Tue, Oct 25, 2011 at 4:49 PM, Matthew Brett <firstname.lastname@example.org> wrote:
>> I guess from your answer that such a warning would be complicated to
>> implement, and if that's the case, I can imagine it would be low
> I assume the problem is more that it would be a weirdo check that
> becomes a maintenance burden ("what is this doing here? Do we still
> need it? who knows?") than that it would be hard to do.
> You can easily do it yourself as a workaround...
> if not str(np.longdouble(2)**64 - 1).startswith("1844"):
> warn("Printing of longdoubles is fubared! Beware! Beware!")
Thanks - yes - I was only thinking of someone like me getting confused
and thinking badly of us if they run into this.
More information about the NumPy-Discussion