[SciPy-user] scipy.misc.limits deprecated

Jarrod Millman millman at berkeley.edu
Sun Sep 23 10:01:46 EDT 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