On Wed, Aug 12, 2009 at 3:29 AM, Maria Liukis <liu...@usc.edu> 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.
>

I'm not sure if this helps, but here you go:
http://drj11.wordpress.com/2007/07/05/the-smallest-number/

I couldn't get it to work on Python 2.6.2 or 3.1 myself, however it seems
pretty small.

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

Reply via email to