[Python-Dev] Float comparisons

M.-A. Lemburg mal at egenix.com
Fri Feb 20 06:15:35 EST 2004


[Reposting using a better subject line :-)]

M.-A. Lemburg wrote:
> mwh at users.sourceforge.net wrote:
> 
>> Update of /cvsroot/python/python/dist/src/Misc
>> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3489/Misc
>>
>> Modified Files:
>>     NEWS Log Message:
>> "Fix" (for certain configurations of the planets, including
>> recent gcc on Linux/x86)
>>
>> [ 899109 ] 1==float('nan')
>>
>> by implementing rich comparisons for floats.  
> 
> 
> Have you benchmarked this change ?
> 
> Rich comparisons sound a lot like overhead and the case you
> are trying to fix here isn't exactly a common one.
> 

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 20 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2004-01-23: Released mxODBC.Zope.DA 1.0.8        http://zope.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the Python-Dev mailing list