[NumPy-Tickets] [NumPy] #1961: numpy.log() doesn't accept very large numbers
NumPy Trac
numpy-tickets@scipy....
Fri Oct 14 13:58:02 CDT 2011
#1961: numpy.log() doesn't accept very large numbers
--------------------------+-------------------------------------------------
Reporter: staticfloat | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Resolution: invalid | Keywords:
--------------------------+-------------------------------------------------
Comment(by staticfloat):
I thought that was the problem as well, however the following works:
{{{
>>> type( 100L )
<type 'long'>
>>> np.log( 100L )
4.6051701859880918
}}}
So clearly, np.log either works with longs, or it automatically casts them
to some other form it can natively handle. Shouldn't it do the same with
long numbers that are above the 2**63 threshold?
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1961#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list