[Numpy-discussion] Importance of order when summing values in anarray

Charles R Harris charlesr.harris at gmail.com
Wed Dec 10 14:38:59 EST 2008


On Wed, Dec 10, 2008 at 11:58 AM, Robert Kern <robert.kern at gmail.com> wrote:

> On Wed, Dec 10, 2008 at 12:07, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> >
> >
> > On Wed, Dec 10, 2008 at 11:00 AM, frank wang <f.yw at hotmail.com> wrote:
> >>
> >> On my two systems with Intel Core2 DUO, finfo(float128) gives me the
> >> nameerro, "NameError: name 'float128' is not defined". Why?
> >>
> >
> > You probably run a 32 bit OS. IEEE extended precision is 80 bits. On 32
> bit
> > systems it fits in three 32 bit words and shows up as float96. On 64 bit
> > systems it fits in two 64 bit words and shows up as float128.
>
> I'm running a 32-bit OS (well, a 32-bit build of Python on OS X) on an
> Intel Core2 Duo, and I get a float128.
>

Curious. It probably has something to do with the way the FPU is set up when
running on a 64 bit system that is independent of how python is compiled.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081210/5d0893b1/attachment.html>


More information about the NumPy-Discussion mailing list