[Numpy-discussion] float128 / longdouble on PPC - is it broken?
Matthew Brett
matthew.brett at gmail.com
Wed Oct 26 11:52:32 EDT 2011
Hi,
On Wed, Oct 26, 2011 at 1:07 AM, Nathaniel Smith <njs at pobox.com> wrote:
> On Tue, Oct 25, 2011 at 4:49 PM, Matthew Brett <matthew.brett at gmail.com> 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
>> priority.
>
> 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.
See you,
Matthew
More information about the NumPy-Discussion
mailing list