[NumPy-Tickets] [NumPy] #1538: finfo.eps returns scalar, finfo.epsneg returns array
NumPy Trac
numpy-tickets@scipy....
Wed Jul 7 11:25:23 CDT 2010
#1538: finfo.eps returns scalar, finfo.epsneg returns array
-----------------------------------+----------------------------------------
Reporter: dgoldsmith | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: numpy.core | Version:
Keywords: finfo eps epsneg type |
-----------------------------------+----------------------------------------
{{{
Python 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64 bit
(AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> np.version.version
'1.4.1'
>>> np.finfo('float').eps
2.2204460492503131e-16
>>> np.finfo('float').epsneg
array(1.1102230246251565e-16)
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1538>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list