[issue1640] Enhancements for mathmodule

Christian Heimes report at bugs.python.org
Mon Dec 17 16:48:44 CET 2007


New submission from Christian Heimes:

The patch adds several small enhancements to the math module and pyport.h.

* Py_MATH_PI and Py_MATH_E in long double precision
* Py_IS_NAN and Py_IS_INFINITY use isnan() and isinf() functions were
available (checked by configure)
* isnan and isinf for the math module
* Bessel (1st and 2nd kind), erf, erfc, lgamma function for math module.
They are defined in almost (or all?) math libraries.

Together with http://bugs.python.org/issue1635 it implements most of PEP
754.

----------
components: Extension Modules
files: trunk_mathmodule.patch
keywords: patch
messages: 58694
nosy: tiran
priority: normal
severity: normal
status: open
title: Enhancements for mathmodule
type: rfe
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file8975/trunk_mathmodule.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1640>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk_mathmodule.patch
Type: text/x-diff
Size: 20978 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071217/30f5d150/attachment-0001.patch 


More information about the Python-bugs-list mailing list