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

Charles R Harris charlesr.harris@gmail....
Wed Dec 10 13:38:59 CST 2008


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

> On Wed, Dec 10, 2008 at 12:07, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> >
> >
> > On Wed, Dec 10, 2008 at 11:00 AM, frank wang <f.yw@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://projects.scipy.org/pipermail/numpy-discussion/attachments/20081210/5d0893b1/attachment.html 


More information about the Numpy-discussion mailing list