New submission from Jean Brouwers <[EMAIL PROTECTED]>: Attached are 2 patches and a test script adding a function sum to the math and cmath modules of Python 2.6a3. The sum is calculated using a full precision summation method.
The test script compares the result of the functions with the original implementation in Python. All tests pass with 4 different builds of Python 2.6a3: - GNU gcc 4.0.1 on MacOS X 10.4.11 (Intel Core Duo), 32-bit - GNU gcc 4.1.2 on RHEL 3 update 7 (Opteron), 64-bit - Sun C 5.8 on Solaris 10 (Opteron), both 32- and 64-bit ---------- components: Extension Modules files: cmathmodule.c.2.6a3.diff keywords: patch messages: 66641 nosy: MrJean1, rhettinger severity: normal status: open title: Full precision summation type: performance versions: Python 2.6 Added file: http://bugs.python.org/file10285/cmathmodule.c.2.6a3.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2819> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com