[Numpy-discussion] numpy slices limited to 32 bit values?
Glenn Tarbox, PhD
Thu May 14 09:40:58 CDT 2009
On Thu, May 14, 2009 at 2:16 AM, Gael Varoquaux <
> On Thu, May 14, 2009 at 02:13:23AM -0700, Glenn Tarbox, PhD wrote:
> > On Thu, May 14, 2009 at 1:43 AM, Gael Varoquaux
> > <firstname.lastname@example.org> wrote:
> > On Thu, May 14, 2009 at 01:31:45AM -0700, Glenn Tarbox, PhD wrote:
> > > I've been working on some other things lately and that number
> > seemed
> > > related to 2^32... now that I look more closely, I don't know
> > where that
> > > number comes from.
> > Is your OS 64bit?
> > Yes, Ubuntu 9.04 x86_64
> Hum, I am wondering: could it be that Sage has not been compiled in
> 64bits? That number '32' seems to me to point toward a 32bit pointer
> issue (I may be wrong).
The other tests I posted indicate everything else is working... For example,
np.sum(fp) runs over the full set of 1e10 doubes and seems to work fine.
Also, while my first thought was about 2^32, Chuck Harris's reply kinda put
that to bed. Where 1410065408.0 comes from may involve e or PI (at least
thats how we reverse engineered answers when I was in college :-)
> Numpy-discussion mailing list
Glenn H. Tarbox, PhD || 206-274-6919
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion