<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/floatobject.c, branch v2.4b2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/floatobject.c?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/floatobject.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-09-23T19:22:41Z</updated>
<entry>
<title>float_richcompare():  Use the new Py_IS_NAN macro to ensure that, on</title>
<updated>2004-09-23T19:22:41Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-09-23T19:22:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e1c69b3f6ff1f86fe5e94a41a877aa08541b62f0'/>
<id>urn:sha1:e1c69b3f6ff1f86fe5e94a41a877aa08541b62f0</id>
<content type='text'>
platforms where that macro works, NaN compared to an int or long works
the same as NaN compared to a finite float.
</content>
</entry>
<entry>
<title>SF bug #513866:  Float/long comparison anomaly.</title>
<updated>2004-09-23T08:06:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-09-23T08:06:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=307fa78107c39ffda1eb4ad18201d25650354c4e'/>
<id>urn:sha1:307fa78107c39ffda1eb4ad18201d25650354c4e</id>
<content type='text'>
When an integer is compared to a float now, the int isn't coerced to float.
This avoids spurious overflow exceptions and insane results.  This should
compute correct results, without raising spurious exceptions, in all cases
now -- although I expect that what happens when an int/long is compared to
a NaN is still a platform accident.

Note that we had potential problems here even with "short" ints, on boxes
where sizeof(long)==8.  There's #ifdef'ed code here to handle that, but
I can't test it as intended.  I tested it by changing the #ifdef to
trigger on my 32-bit box instead.

I suppose this is a bugfix candidate, but I won't backport it.  It's
long-winded (for speed) and messy (because the problem is messy).  Note
that this also depends on a previous 2.4 patch that introduced
_Py_SwappedOp[] as an extern.
</content>
</entry>
<entry>
<title>Fix a couple of signed/unsigned comparison warnings</title>
<updated>2004-07-08T01:55:58Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-07-08T01:55:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=739a8f86d6b4df7a36ec875660095ff16aa560d7'/>
<id>urn:sha1:739a8f86d6b4df7a36ec875660095ff16aa560d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #774665: Make Python LC_NUMERIC agnostic.</title>
<updated>2004-06-08T18:52:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-08T18:52:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=737ea82a5abd448b3e214b44d7d3c579b77e8155'/>
<id>urn:sha1:737ea82a5abd448b3e214b44d7d3c579b77e8155</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove float_compare as per</title>
<updated>2004-05-26T17:36:12Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-05-26T17:36:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08678a1055b273ad7394f70ebfa17744ca1a6708'/>
<id>urn:sha1:08678a1055b273ad7394f70ebfa17744ca1a6708</id>
<content type='text'>
[ 899109 ] 1==float('nan')

which can now finally be closed, I think.
</content>
</entry>
<entry>
<title>Oops, didn't mean to commit the removal of float_compare!</title>
<updated>2004-02-26T13:16:03Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-02-26T13:16:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6bee23cdc3e1b776ccee082b69cf85099aabca6e'/>
<id>urn:sha1:6bee23cdc3e1b776ccee082b69cf85099aabca6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass a variable that actually exists to PyFPE_END_PROTECT in</title>
<updated>2004-02-26T12:33:09Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-02-26T12:33:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=957f9774b68076e0b549435b4061143936426fe2'/>
<id>urn:sha1:957f9774b68076e0b549435b4061143936426fe2</id>
<content type='text'>
float_richcompare.  Reported on c.l.py by Helmut Jarausch.
</content>
</entry>
<entry>
<title>"Fix" (for certain configurations of the planets, including</title>
<updated>2004-02-19T19:35:22Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-02-19T19:35:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf'/>
<id>urn:sha1:d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf</id>
<content type='text'>
recent gcc on Linux/x86)

[ 899109 ] 1==float('nan')

by implementing rich comparisons for floats.

Seems to make comparisons involving NaNs somewhat less surprising
when the underlying C compiler actually implements C99 semantics.
</content>
</entry>
<entry>
<title>Remove support for SunOS 4.</title>
<updated>2004-01-17T14:19:44Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2004-01-17T14:19:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ce59c04127cb82127e247f5e986b07cbb6c39c61'/>
<id>urn:sha1:ce59c04127cb82127e247f5e986b07cbb6c39c61</id>
<content type='text'>
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
</content>
</entry>
<entry>
<title>Getting rid of all the code inside #ifdef macintosh too.</title>
<updated>2003-11-20T01:44:59Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2003-11-20T01:44:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eddc1449bae39414aaf7a4f63ccd3b69c4fb069e'/>
<id>urn:sha1:eddc1449bae39414aaf7a4f63ccd3b69c4fb069e</id>
<content type='text'>
</content>
</entry>
</feed>
