[Numpy-discussion] np.longlong casts to int
Thu Feb 23 12:45:21 CST 2012
On Thu, Feb 23, 2012 at 10:42 AM, Matthew Brett <firstname.lastname@example.org>wrote:
> On Thu, Feb 23, 2012 at 10:11 AM, Pierre Haessig
> <email@example.com> wrote:
> > Le 23/02/2012 17:28, Charles R Harris a écrit :
> >> That's correct. They are both extended precision (80 bits), but
> >> aligned on 32bit/64bit boundaries respectively. Sun provides a true
> >> quad precision, also called float128, while on PPC long double is an
> >> odd combination of two doubles.
> > This is insane ! ;-)
> I don't know if it's insane, but it is certainly very confusing, as
> this thread the previous one show.
> The question is, what would be less confusing?
One approach would be to never alias longdouble as float###. Especially
float128 seems to imply that it's the IEEE standard binary128 float, which
it is on some platforms, but not on most.
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion