<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/cmathmodule.c, branch 2.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/cmathmodule.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cmathmodule.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-11T10:16:47Z</updated>
<entry>
<title>backport tim_one's checkin of</title>
<updated>2002-03-11T10:16:47Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-11T10:16:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5c204249f56d78b67a3f496abd760365ff6d582'/>
<id>urn:sha1:b5c204249f56d78b67a3f496abd760365ff6d582</id>
<content type='text'>
    revision 2.28 of cmathmodule.c

SF bug 525705:  [2.2] underflow raise OverflowException.
Another year in the quest to out-guess random C behavior.

Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y).  The latter
is useful for functions with complex results.  Two corrections to errno-
after-libm-call are attempted:

1. If the platform set errno to ERANGE due to underflow, clear errno.
   Some unknown subset of libm versions and link options do this.  It's
   allowed by C89, but I never figured anyone would do it.

2. If the platform did not set errno but overflow occurred, force
   errno to ERANGE.  C89 required setting errno to ERANGE, but C99
   doesn't.  Some unknown subset of libm versions and link options do
   it the C99 way now.

Bugfix candidate, but hold off until some Linux people actually try it,
with and without -lieee.  I'll send a help plea to Python-Dev.
</content>
</entry>
<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>asin micro-optimization suggested in email.</title>
<updated>2001-02-22T19:51:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-22T19:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c8e1f0654f26765c89753bede75be9f3132e11e'/>
<id>urn:sha1:1c8e1f0654f26765c89753bede75be9f3132e11e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug #133297:  cmath.asin is the same as cmath.asinh.</title>
<updated>2001-02-21T03:22:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-21T03:22:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=edf2210221f2803dfea62493ebff5eafd5cbc851'/>
<id>urn:sha1:edf2210221f2803dfea62493ebff5eafd5cbc851</id>
<content type='text'>
The bug report title isn't correct, but was on the right track.
Rev 2.13 applied a patch intended to improve asinh and acosh, but the
author mistakenly replaced the body of asin with their new code for asinh.
See bug report for all the gory details.
This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh
function; and, (b) repairs asin via what Abramowitz &amp; Stegun say it should
be (which is probably the same as what 2.12 did for asin, although I got
tired of matching parentheses before being 100% sure of that -- and I don't
care!  The source of the old code is a mystery, and I *know* why I picked
the new code.).
</content>
</entry>
<entry>
<title>Rename some constants for easier readability.</title>
<updated>2001-02-20T20:36:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-20T20:36:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8cb82bd5fb91ab45b24d863f89947b67c9839af5'/>
<id>urn:sha1:8cb82bd5fb91ab45b24d863f89947b67c9839af5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mechanical edits just so I can read it.</title>
<updated>2001-02-20T20:15:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-20T20:15:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14e26408f357b7ded82808a9454a85089ef1b1b0'/>
<id>urn:sha1:14e26408f357b7ded82808a9454a85089ef1b1b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use METH_VARARGS instead of numeric constant 1 in method def. tables</title>
<updated>2000-08-03T02:06:16Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2000-08-03T02:06:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e365fb8d1ff062d619f9476265e48e9ba8ab2bf6'/>
<id>urn:sha1:e365fb8d1ff062d619f9476265e48e9ba8ab2bf6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge Include/my*.h into Include/pyport.h</title>
<updated>2000-07-31T15:28:04Z</updated>
<author>
<name>Peter Schneider-Kamp</name>
<email>nowonder@nowonder.de</email>
</author>
<published>2000-07-31T15:28:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7e018909862a3fe6c571bbb7143f4ffb18ae834c'/>
<id>urn:sha1:7e018909862a3fe6c571bbb7143f4ffb18ae834c</id>
<content type='text'>
marked my*.h as obsolete
</content>
</entry>
</feed>
