A bit more of googling gave me an answer:

>>> import numpy as np
>>> np.finfo(np.double).tiny
array(2.2250738585072014e-308)
>>>

Thanks,
Masha
--------------------
liu...@usc.edu



On Aug 11, 2009, at 10:29 AM, Maria Liukis wrote:

Hello everybody,

Is somebody aware of built-in Python's function that would return a value for smallest positive double precision floating point number (analogous to 'realmin' in Matlab). Python has built-in sys.maxint but I could not find anything for float.

Any help would be greatly appreciated.

Thanks,
Masha
--------------------
liu...@usc.edu



--
http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to