Re: [Numpy-discussion] Problems with long

2008-03-12 Thread Tom Johnson
On Sat, Jan 26, 2008 at 5:49 AM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > > Tom Johnson wrote: > > Hi, I'm having some troubles with long. > > > > > from numpy import log > log(8463186938969424928L) > > > 43.5822574833 > > > log(10454852688145851272L) > >

Re: [Numpy-discussion] Problems with long

2008-01-26 Thread Travis E. Oliphant
Tom Johnson wrote: > Hi, I'm having some troubles with long. > > from numpy import log log(8463186938969424928L) > 43.5822574833 > log(10454852688145851272L) > : 'long' object has no attribute 'log' > The problem is that the latter long integer i

Re: [Numpy-discussion] Problems with long

2008-01-26 Thread Charles R Harris
On Jan 26, 2008 12:39 AM, Tom Johnson <[EMAIL PROTECTED]> wrote: > Hi, I'm having some troubles with long. > > >>> from numpy import log > >>> log(8463186938969424928L) > 43.5822574833 > >>> log(10454852688145851272L) > : 'long' object has no attribute 'log' > Numpy uses the standard C functions,

[Numpy-discussion] Problems with long

2008-01-25 Thread Tom Johnson
Hi, I'm having some troubles with long. >>> from numpy import log >>> log(8463186938969424928L) 43.5822574833 >>> log(10454852688145851272L) : 'long' object has no attribute 'log' Thoughts? ___ Numpy-discussion mailing list Numpy-discussion@scipy.org ht