[SciPy-user] scipy.misc.limits deprecated

Jarrod Millman millman@berkeley....
Sun Sep 23 09:01:46 CDT 2007


Hello,

As of r3362, scipy.misc.limits is officially deprecated:
  http://projects.scipy.org/scipy/scipy/changeset/3362

If you need to work with the machine limits, please use numpy.finfo instead:
  http://scipy.org/scipy/numpy/browser/trunk/numpy/lib/getlimits.py

For example,
  from numpy import finfo, single
  single_epsilon = finfo(single).eps

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the SciPy-user mailing list