<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/mathmodule.c, branch v2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/mathmodule.c?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/mathmodule.c?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-06T08:16:17Z</updated>
<entry>
<title>Revert parts of patch #453627, documenting the resulting test failures</title>
<updated>2001-09-06T08:16:17Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-09-06T08:16:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=387c547fd38d321e42bf202c166e9403e7ee9b61'/>
<id>urn:sha1:387c547fd38d321e42bf202c166e9403e7ee9b61</id>
<content type='text'>
instead.
</content>
</entry>
<entry>
<title>Rework the way we try to check for libm overflow, given that C99 no longer</title>
<updated>2001-09-05T22:36:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-05T22:36:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a40c793d06ee2b42a5013015352616b4ca6b288b'/>
<id>urn:sha1:a40c793d06ee2b42a5013015352616b4ca6b288b</id>
<content type='text'>
requires that errno ever get set, and it looks like glibc is already
playing that game.  New rules:

+ Never use HUGE_VAL.  Use the new Py_HUGE_VAL instead.

+ Never believe errno.  If overflow is the only thing you're interested in,
  use the new Py_OVERFLOWED(x) macro.  If you're interested in any libm
  errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts
  to set errno the way C89 said it worked.

Unfortunately, none of these are reliable, but they work on Windows and I
*expect* under glibc too.
</content>
</entry>
<entry>
<title>Patch #453627: Define the following macros when compiling on a UnixWare 7.x system:</title>
<updated>2001-09-05T14:45:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-09-05T14:45:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=655c9557f6e0da64527cb6f97da65d4b59232c29'/>
<id>urn:sha1:655c9557f6e0da64527cb6f97da65d4b59232c29</id>
<content type='text'>
SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES.
Work aroudn a bug in the SCO UnixWare atan2() implementation.
</content>
</entry>
<entry>
<title>loghelper():  Try to nudge the compiler into doing mults in an order that</title>
<updated>2001-09-05T04:33:11Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-05T04:33:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5ca6c71cd4a27f855612aeb14e600712cf72e04'/>
<id>urn:sha1:e5ca6c71cd4a27f855612aeb14e600712cf72e04</id>
<content type='text'>
minimizes roundoff error.
</content>
</entry>
<entry>
<title>Return reasonable results for math.log(long) and math.log10(long) (we were</title>
<updated>2001-09-05T00:53:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-05T00:53:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=785261684e0e660dcdce48daf683cec541f4a8f2'/>
<id>urn:sha1:785261684e0e660dcdce48daf683cec541f4a8f2</id>
<content type='text'>
getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we
were getting OverflowError; but these functions always make good sense
for positive arguments, no matter how large).
</content>
</entry>
<entry>
<title>Mechanical fiddling to make this easier to work with in my editor.</title>
<updated>2001-09-04T23:17:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-04T23:17:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=63c945392917cd9c228a613d2e965500452bb92e'/>
<id>urn:sha1:63c945392917cd9c228a613d2e965500452bb92e</id>
<content type='text'>
Repaired the ldexp docstring (said the name of the func was "ldexp_doc").
</content>
</entry>
<entry>
<title>Part of SF patch [#431848] mathmodule.c: doc strings &amp; conversion, from</title>
<updated>2001-08-07T22:10:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-07T22:10:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe71f8136761237bd22957247bd7bc68c51aeb02'/>
<id>urn:sha1:fe71f8136761237bd22957247bd7bc68c51aeb02</id>
<content type='text'>
Peter Schneider-Kamp.
Clarified some docstrings in the spirit of the patch; left out the
degrees() and radians() functions (see the patch comments on SF).
</content>
</entry>
<entry>
<title>annoying whitespace inconsistency</title>
<updated>2001-06-10T16:45:08Z</updated>
<author>
<name>Peter Schneider-Kamp</name>
<email>nowonder@nowonder.de</email>
</author>
<published>2001-06-10T16:45:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=07c1922b12ae56dc892672d02f95e7521e1b8d55'/>
<id>urn:sha1:07c1922b12ae56dc892672d02f95e7521e1b8d55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Repaired a comment and asserted a precondition.</title>
<updated>2000-10-12T19:42:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2000-10-12T19:42:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2bf405ad559a346577cc6b922fd45377c935fafb'/>
<id>urn:sha1:2bf405ad559a346577cc6b922fd45377c935fafb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop raising OverflowError on underflows reported by libm (errno==ERANGE and</title>
<updated>2000-10-12T06:10:25Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2000-10-12T06:10:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1d120619d475b1b892585b812dc0d28bd389d097'/>
<id>urn:sha1:1d120619d475b1b892585b812dc0d28bd389d097</id>
<content type='text'>
libm result is 0).  Cautiously add a few libm exception test cases:
1. That exp(-huge) returns 0 without exception.
2. That exp(+huge) triggers OverflowError.
3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked
   with -lieee, it was raising OverflowError due to an accident of the way
   mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).
</content>
</entry>
</feed>
