New submission from nirinA raseliarison :
idle cannot save file with non ascii character, leading to:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python3.8/tkinter/__init__.py", line 1883, in __call__
return self.func(*args)
File &
nirinA raseliarison added the comment:
may be some error when i send this the first time,
i cannot see the file, so i resend mathmodule.c.diff
sorry if you get it twice
--
Added file: http://bugs.python.org/file15491/mathmodule.c.diff
___
Python
nirinA raseliarison added the comment:
finally, for the error function, with the same kind of idea as with expm1,
here is a pure python definition
these patches are against r27a1:76674
if all these make sense, i'll check for NAN, infinity, test suite...
--
Added file:
nirinA raseliarison added the comment:
for expm1, we use the Taylor development near zero, but
we have to precise what means small value for x. here this means
abs(x) < math.log(2.0).
one can also use abs(x) < C
--
Added file: http://bugs.python.org/file15489/mathmodule.
nirinA raseliarison added the comment:
having the gamma function, one certainly needs the other Euler constant:
C = 0.5772
the C constant is taken from GSL
--
Added file: http://bugs.python.org/file15488/pymath.h.diff
___
Python tracker
<h
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
pure Python codes are posted to ASPN:
http://code.activestate.com/recipes/576391/
http://code.activestate.com/recipes/576393/
i also rewrote the patch so that they don't
use the high_word/low_word macros anymore.
Added
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
i wrote pure Python equivalent of the patch and will
post it to the ASPN cookbook as suggested. i'm wondering
if i have to upload the code here too, or just the link
will suffice?
Raymond Hettinger:
> Can you also impleme
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
ouch!
i was asleep, at 3AM, when i edited the issue
and didn't really know what i was doing.
i just see that i removed, instead of edited the
mathmodule.diff and didn't check after.
so here it is again, with the url f
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
Mark Dickinson :
> So a full patch for this should touch at least Python/pymath.c,
> Modules/mathmodule.c, configure.in, Lib/test/test_math.py, and
> Doc/Library/math.rst.
here are patches for Python/pymath.c, Modules/ma
Changes by nirinA raseliarison <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file10976/test_math.py.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by nirinA raseliarison <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file10975/pymath.h.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by nirinA raseliarison <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file10974/mathmodule.c.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by nirinA raseliarison <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file10973/pymath.c.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by nirinA raseliarison <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file10954/mathmodule.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
and this is the header.
it is stolen from glibc.
Added file: http://bugs.python.org/file10955/math_private.h
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
nirinA raseliarison <[EMAIL PROTECTED]> added the comment:
here is an attempt to make erf, erfc, lgamma and tgamma
accessible from math module.
erf and erfc are crude translation of the code pointed
out by Daniel Stutbach.
lgamma is also taken from sourceware.org, but doesn't
use th
16 matches
Mail list logo