[issue3501] expm1 missing
Mark Dickinson
report at bugs.python.org
Tue Aug 5 00:44:58 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
Mike,
Can you propose an implementation, for those platforms that haven't yet
caught up with C99? Something comparable to the implementation of log1p
in Python/pymath.c would be appropriate. Ideally, such an
implementation would:
- be accurate to within a few ulps across the whole domain,
- be not too long, and not too slow
- have a decent chance of working with strange floating-point formats
(Python doesn't assume IEEE 754)
- handle IEEE 754 values 'correctly' (i.e., as recommended by Annex F to
the C99 standard)
It's too late to get this into Python 2.6/3.0, but patches aimed at 2.7
or 3.1 would be welcome.
----------
nosy: +marketdickinson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3501>
_______________________________________
More information about the Python-bugs-list
mailing list