<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">A bit more of googling gave me an answer:<div><br></div><div>>>> import numpy as np</div><div><div>>>> np.finfo(np.double).tiny</div><div>array(2.2250738585072014e-308)</div><div>>>> </div><div><br></div><div>Thanks,</div><div> <span class="Apple-style-span" style="font-size: 12px; "><div>Masha</div><div>--------------------</div><div><a href="mailto:liukis@usc.edu">liukis@usc.edu</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Aug 11, 2009, at 10:29 AM, Maria Liukis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> Hello everybody,<div><br></div><div>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.<br><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Thanks,<br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Masha</div><div>--------------------</div><div><a href="mailto:liukis@usc.edu">liukis@usc.edu</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a></div> </blockquote></div><br></div></body></html>