homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add log1p(), exp1m(), gamma(), and lgamma() to cmath
Type: enhancement Stage: needs patch
Components: Extension Modules Versions: Python 3.4
process
Status: closed Resolution: postponed
Dependencies: Superseder:
Assigned To: Nosy List: mark.dickinson, orsenthil, rhettinger
Priority: low Keywords:

Created on 2011年01月25日 23:25 by rhettinger, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (3)
msg127070 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2011年01月25日 23:25
Where it makes sense, cmath needs to stay in-sync with the math module as much as possible:
 >>> set(dir(math)) - set(dir(cmath))
 {'pow', 'fsum', 'ldexp', 'hypot', 'fabs', 'floor', 'lgamma',
 'frexp', 'degrees', 'modf', 'factorial', 'copysign', 'ceil',
 'trunc', 'expm1', 'radians', 'atan2', 'erf', 'erfc', 'fmod',
 'log1p', 'gamma'}
At some point, it may make sense to implement cmath.fsum() along the lines of:
 
 c_fsum = lambda iterable: 
 complex(*map(fsum, zip(*((z.real, z.imag) for z in iterable))))
msg159619 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2012年04月29日 15:59
Unassigning. I'm not planning to work on this in the forseeable future, though I'd be happy to review patches.
msg192928 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2013年07月12日 07:34
Closed due to lack of interest.
History
Date User Action Args
2022年04月11日 14:57:11adminsetgithub: 55221
2013年07月12日 07:34:20rhettingersetstatus: open -> closed
resolution: postponed
messages: + msg192928
2013年07月08日 17:32:16christian.heimessetpriority: normal -> low
versions: + Python 3.4, - Python 3.3
2012年04月29日 15:59:44mark.dickinsonsetassignee: mark.dickinson ->
messages: + msg159619
2011年12月21日 14:43:22orsenthilsetnosy: + orsenthil
2011年01月25日 23:25:00rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /